CVE-2025-48954 HIGH

CVE-2025-48954: Discourse vulnerable to XSS via user-provided query parameter in oauth failure flow

Vendor Discourse
Product discourse
Weakness CWE-79 · XSS
Published June 25, 2025
Last update June 25, 2025

CVSS base score

8.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 25, 2025 CVE published
June 25, 2025 Record updated