CVE-2025-22602
published medium CVSS 3.1 · 6.5Stored DOM-based XSS (without CSP) via video placeholders in Discourse
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| discourse | — | discoursestable: <= 3.3.3 · beta: <= 3.4.0.beta3 · tests-passed: <= 3.4.0.beta3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| discourse | discourse | stable: <= 3.3.3 (affected)beta: <= 3.4.0.beta3 (affected)tests-passed: <= 3.4.0.beta3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
1Provider assertions
2GitHub_M · cna
Stored DOM-based XSS (without CSP) via video placeholders in Discourse
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 13fa951b10d253e88da0bad0aafa9dbea5885f605577973ec46811385c36e8df
- Ingested
- 23 Sep 2026, 08:40:21 UTC
- Source record
- Official CVE record