CVE-2025-48954

Severity CVSS v4.0:
Pending analysis
Type:
CWE-79 Cross-Site Scripting (XSS)
Publication date:
25/06/2025
Last modified:
25/08/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:* 3.5.0 (excluding)
cpe:2.3:a:discourse:discourse:3.5.0:-:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:3.5.0:beta1:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:3.5.0:beta2:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:3.5.0:beta3:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:3.5.0:beta4:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:3.5.0:beta5:*:*:beta:*:*:*