CVE-2025-22602 Stored DOM-based XSS (without CSP) via video placeholders in Discourse
MediumCVSS 6.1
EPSS 0.54%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| discourse | < 3.3.4; < 3.4.0; = 3.4.0-beta1; = 3.4.0-beta2 +4 more | 3.3.4, 3.4.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| discourse | = stable: <= 3.3.3 | No fix listed |
| discourse | = beta: <= 3.4.0.beta3 | No fix listed |
| discourse | = tests-passed: <= 3.4.0.beta3 | No fix listed |
| discourse | < 3.3.4 | 3.3.4 |
| discourse | < 3.4.0 | 3.4.0 |
| discourse | = 3.4.0-beta1 | No fix listed |
| discourse | = 3.4.0-beta2 | No fix listed |
| discourse | = 3.4.0-beta3 | No fix listed |
References
- https://github.com/discourse/discourse/security/advisories/GHSA-jcjx-694p-c5m3 third-party-advisory