CVE-2025-48954
mediumpriority · track · 24EPSS 0.007 · 54 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6–8.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- BIT-discourse-2025-48954Discourse vulnerable to XSS via user-provided query parameter in oauth failure flow2025-07-01vendor · osvUS
Discourse is an open-source discussion platform. Versions prior to 3.5.0 are vulnerable to cross-site scripting when the content security policy isn't enabled when using social logins. Version 3.5.0 patches the issue. As a workaround, have the content security policy enabled.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://github.com/discourse/discourse/security/advisories/GHSA-26p5-mjjh-wfcfcnnvd
- https://github.com/discourse/discourse/tagsPatchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-48954cnnvd
- https://github.com/discourse/discourse/security/advisories/GHSA-26p5-mjjh-wfcfenisa_euvd
- https://github.com/discourse/discourse/security/advisories/GHSA-26p5-mjjh-wfcfVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan