CVE-2025-48954

HIGH NUCLEI

Discourse < 3.5.0.beta6 - Cross-Site Scripting via Social Login

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2025-48954 has a Nuclei detection template available — see the Nuclei card below for the Shodan/FOFA recon queries.

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.

Nuclei Templates (1)

Discourse OAuth Social Login - Cross-site Scripting
HIGHVERIFIEDby ferreiraklet,DhiyaneshDK,pdresearch
Shodan: http.component:"Discourse"
FOFA: app="Discourse"

References (1)

Core 1
Core References

Scores

CVSS v3 8.1
EPSS 0.1012
EPSS Percentile 93.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (2)
discourse/discourse 3.5.0 beta1 (5 CPE variants)
discourse/discourse < 3.5.0
Published Jun 25, 2025
Tracked Since Feb 18, 2026