Cross-Site Scripting Vulnerability in Discourse Open Source Discussion Platform
CVE-2025-48954
Key Information:
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but a user must act
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory ↗2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Discourse. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- Its CVSS severity is high (8.1).
What is CVE-2025-48954?
A vulnerability has been identified in Discourse, an open-source discussion platform, affecting versions prior to 3.5.0.beta6. This risk arises when the content security policy is not enabled for users authenticating via social logins, potentially allowing malicious scripts to be executed. To mitigate this issue, users are advised to update to version 3.5.0.beta6 or enable the content security policy as a workaround. Ensuring effective security measures is crucial for safeguarding user data.
Affected Version(s)
discourse < 3.5.0.beta6
References
More Discourse Vulnerabilities
Authorization Flaw in Discourse
HTML Injection Flaw in Discourse Invitation System
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction