Cross-site scripting in Discourse - CVE-2026-72730

 

Cross-site scripting in Discourse - CVE-2026-72730

Published: July 29, 2026 / Updated: August 13, 2026


Vulnerability identifier: #VU140004
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2026-72730
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary script code in a victim's browser.

The vulnerability exists due to improper neutralization of input during web page generation in the rich text editor transcript header rendering when processing chat transcript quote metadata. A remote user can supply a specially crafted username in quote metadata to execute arbitrary script code in a victim's browser.

User interaction is required to view the crafted content in the rich text editor.


Affected software

Discourse

How to mitigate CVE-2026-72730

Install security update from vendor's website.

Discourse - addressed in versions 2026.1.6, 2026.5.2, 2026.6.1, 2026.7.0

External References

Related Security Bulletins