Cross-Site Scripting Vulnerability in Discourse Open Source Discussion Platform

Check todayData theft and tampering over the network if a user is tricked.
8.1HIGH

CVE-2025-48954

Key Information:

Vendor

Discourse

Status
CVE ID
CVE ID:
CVE-2025-48954
Vendor
CVE Published:
25 June 2025

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

Authorization Flaw in Discourse

CVE-2026-44787
DiscourseDiscourse8.2HIGH

HTML Injection Flaw in Discourse Invitation System

CVE-2025-48062
DiscourseDiscourse7.1HIGH
View more Discourse vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
8.1
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged
.