Skip to content
OpenAdvisories
High · 8.1 Scanner template CVE-2025-48954 EUVD-2025-28274

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

Published Jun 25, 2025 · Updated Jun 25, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
discourse discourse < 3.5.0.beta6 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

References