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

 

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

Published: October 28, 2026


Vulnerability identifier: #VU158255
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-91120
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to inject arbitrary HTML and potentially browser-executable event handlers into video notification emails and chat summaries.

The vulnerability exists due to improper neutralization of HTML in Discourse's email and chat-summary rendering path when processing provider-controlled video titles with lazy video embeds and the relevant video provider enabled. A remote user can post a video with a specially crafted provider-controlled title that is re-parsed as HTML to inject content and potentially executable event handlers into generated emails or chat summaries.


Affected software

Discourse

How to mitigate CVE-2026-91120

Install security update from vendor's website.

Discourse - addressed in versions 2026.1.8, 2026.6.3, 2026.7.2, 2026.8.0

External References

Related Security Bulletins