CVE-2025-48954
Discourse vulnerable to XSS via user-provided query parameter in oauth failure flow
6.1
MEDIUM
CVSS 3.1
EPSS 10.1%
Description
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.
How to fix CVE-2025-48954
To remediate CVE-2025-48954, upgrade the affected package to a fixed version below.
- —upgrade to 3.5.0 or later
Is CVE-2025-48954 being exploited?
Moderate — EPSS is 10.1%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (1)
- from 0, < 3.5.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |