CVE-2026-91120 Discourse: Stored HTML injection in video notification emails

Medium 5.4 Published Updated

Attackers can inject HTML into video notification emails via malicious titles, potentially executing scripts in recipients' email clients.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-91120?

CVE-2026-91120 is a medium-severity cross-site scripting vulnerability in discourse, published on 24 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Discourse is an open-source discussion platform. Prior to 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0, provider-controlled video titles in lazy video embeds could be reparsed as HTML when Discourse generated notification emails or chat summaries. A user with standard posting privileges could create a post for an enabled YouTube, Vimeo, or TikTok provider whose title contained markup, and the email and chat-summary rendering path would place that markup into the output instead of treating it solely as text. Recipients using HTML-capable email clients could see injected content, potentially including event handlers, but the issue did not directly expose a Discourse browser session or affect the forum page itself. Lazy video embeds must be enabled, which is the default configuration. This issue is fixed in versions 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0.

Weakness: CWE-79

Which versions are affected by CVE-2026-91120?

1 open source package ship an affected version, including discourse.

PackageAffectedFixed in
discourse BitnamiAll versions2026.8.0

How do I fix CVE-2026-91120?

Upgrade discourse to 2026.8.0 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-91120 being exploited?

There is no known exploitation of CVE-2026-91120 in the wild and no public exploit code.

Sources

Also known as BIT-discourse-2026-91120, GHSA-h7cg-2vww-m45c.

Is CVE-2026-91120 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free