CVE-2025-48954 Details
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.
A cross-site scripting (XSS) vulnerability has been identified in Discourse, an open-source discussion platform, affecting versions prior to 3.5.0.beta6. The issue arises when the content security policy (CSP) is not enabled during social login OAuth failure flow, allowing for user-provided query parameters to be exploited. Discourse version 3.5.0.beta6 addresses this vulnerability. Users can enable the content security policy as a workaround.
Users can upgrade to Discourse version 3.5.0.beta6 or later to address this vulnerability. As an additional step, enabling the content security policy can help mitigate the issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/discourse/discourse/security/advisories/GHSA-26p5-mjjh-wfcf | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| discourse discourse | < 3.5.0 3.5.0 beta1 3.5.0 beta2 3.5.0 beta3 3.5.0 beta4 3.5.0 beta5 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 25, 2025 | Reanalysis | [email protected] |
| Aug 25, 2025 | Initial Analysis | [email protected] |
| Jun 25, 2025 | New CVE Received | [email protected] |