CVE-2025-48954

published 25 Jun 2025 · updated 25 Jun 2025

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

9.1CriticalCVSS 8.1EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
discourse<3.5.0.beta6

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-48954 severity on Zeptric[![CVE-2025-48954](https://zeptric.io/badge/cve/CVE-2025-48954.svg)](https://zeptric.io/cve/CVE-2025-48954)