๐Ÿ” CVE Alert

CVE-2026-59830

MEDIUM 5.4

Discourse: Stored XSS via unescaped actor name in post actions

CVSS Score
5.4
EPSS Score
0.0%
EPSS Percentile
0th

Discourse is an open-source discussion platform. Prior to 2026.7.0, the post action component failed to escape user-controlled display names before interpolating them into an HTML string passed to trustHTML. A user who could choose a crafted display name could persist markup in post action descriptions. Viewing the affected user activity streams could execute attacker-controlled script in another user's browser. This issue is fixed in version 2026.7.0.

CWE CWE-79
Vendor discourse
Product discourse
Published Sep 21, 2026
Stay Ahead of the Next One

Get instant alerts for discourse discourse

Be the first to know when new medium vulnerabilities affecting discourse discourse are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Affected Versions

discourse / discourse
< 2026.7.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/discourse/discourse/security/advisories/GHSA-x6mf-p7cg-69rw github.com: https://github.com/discourse/discourse/commit/dd786594ddd088657a7e6f9fefba5bd889965fe4 github.com: https://github.com/discourse/discourse/releases/tag/v2026.7.0