CVE-2025-22602
Stored DOM-based XSS (without CSP) via video placeholders in Discourse
6.1
MEDIUM
CVSS 3.1
EPSS 0.15%
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.
How to fix CVE-2025-22602
To remediate CVE-2025-22602, upgrade the affected package to a fixed version below.
- —upgrade to 3.4.0 or later
Is CVE-2025-22602 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 3.4.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |