CVE-2025-22602: Discourse

Medium severity, CVSS 6.1. EPSS: 0.4% chance of exploitation in the next 30 days.

Discourse is an open source platform for community discussion. In affected versions an attacker can execute arbitrary JavaScript on users' browsers by posting a malicious video placeholder html element. This issue only affects sites with CSP disabled. This problem has been patched in the latest version of Discourse. Users are advised to upgrade. Users unable to upgrade should enable CSP.

Affected products

  • Discourse Discourse: before 3.3.4 (fixed in 3.3.4); before 3.4.0 (fixed in 3.4.0); version 3.4.0 only

Published 2025-02-04. Last modified 2026-06-17.