{"id":"CVE-2025-48954","published":"2025-06-25T14:02:46Z","modified":"2025-06-25T14:19:13Z","title":"Discourse vulnerable to XSS via user-provided query parameter in oauth failure flow","vendor":"discourse","product":"discourse","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0114,"percentile":0.66369,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-26p5-mjjh-wfcf","tags":["x_refsource_CONFIRM"]}],"priority":{"score":23.9,"factors":[{"name":"EPSS percentile","points":13.27},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.67}]},"exploitSources":{"nuclei":[{"id":"CVE-2025-48954","name":"Discourse OAuth Social Login - Cross-site Scripting","severity":"high","path":"http/cves/2025/CVE-2025-48954.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-48954.yaml"}],"provenance":"source"},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse","versions":["< 3.5.0.beta6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-25T14:18:06.577106Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-28274","exploited":false,"provenance":"source"}}