Description
Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, a topic "featured link" was not sufficiently normalized and escaped before being rendered in the topic list, allowing a user who can set a featured link to inject JavaScript when default Content Security Policy protections were modified or disabled. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
Affected products
discourse: discourse
References9
- github.com/discourse/discourse/security/advisories/GHSA-695w-7f… Vendor Advisory
- github.com/discourse/discourse/commit/1bce8881e4253d9bbab56f011… Patch
- github.com/discourse/discourse/commit/6679d9a5083488bae10c2adbb… Patch
- github.com/discourse/discourse/commit/6828aee9b15c2655d63b515ac… Patch
- github.com/discourse/discourse/commit/c9b9405f5bd0bf0269e505e28… Patch
- github.com/discourse/discourse/releases/tag/v2026.1.5 Release Notes
- github.com/discourse/discourse/releases/tag/v2026.4.2 Release Notes
- github.com/discourse/discourse/releases/tag/v2026.5.1 Release Notes
- github.com/discourse/discourse/releases/tag/v2026.6.0 Release Notes
Metrics
- CVSS 3.1
-
5.4
MEDIUM
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - CVSS 4.0
-
7.4
HIGH
Score source: CNA
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 36 · as of 15 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.