CVE-2025-48954CWE-79

Discourse vulnerable to XSS via user-provided query parameter in oauth failure flow

High · published June 25, 2025

CVSS v3.1
8.1
EPSS
1%
Percentile
53.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00736 · 53.9th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-06-25T14:02Z
EPSS history
Timeline
  • 25 JUN 14:02Z
    Discourse vulnerable to XSS via user-provided query parameter in oauth failure flow
    cvelistv5