CVE-2025-48954
High
Description
Discourse is an open-source discussion platform. Versions prior to 3.5.0.beta6 are vulnerable to cross-site scripting when the content security policy isn't enabled when using social logins. Version 3.5.0.beta6 patches the issue. As a workaround, have the content security policy enabled.
SeverityHigh
CVSS8.1
Exploit probability—
Product
Discourse
PublishedJun 25, 2025
First seenJun 25, 2025
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- discourse discourse3.5.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| discourse discourse | v < 3.5.0, 3.5.0 | 3.5.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.