Vulnerability · Published Feb 4, 2025 · Assigned by GitHub_M
CVE-2025-22602Stored DOM-based XSS (without CSP) via video placeholders in Discourse
Medium 6.5
In plain English
A medium-severity cross-site scripting in discourse from discourse. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities).
Official description
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 (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
References
- https://github.com/discourse/discourse/security/advisories/GHSA-jcjx-694p-c5m3 x_refsource_CONFIRM