All vulnerabilities

Servers and applications

CVE-2026-91120

Stored HTML injection in video notification emails

Severity
Medium 5.4
Published
25 Aug 2026
Last changed
14 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
2026.1.8, 2026.6.3, 2026.7.2, 2026.8.0
Exploit chance
0.2% in the next 30 daysHigher than 10% of CVEs. EPSS by FIRST, 19 Nov 2026
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Also known as
GHSA-h7cg-2vww-m45c
Sources
Project advisories (GitHub)

Description

A stored HTML injection vulnerability was found in the email and chat-summary rendering path for video posts. When a provider-controlled video title contains markup, the title could be re-parsed as HTML when Discourse generates email notifications or chat summaries for the post. A malicious video title could result in the injection of arbitrary HTML into the rendered email or chat summary, potentially including browser-executable event handlers.

The attack requires:

  • The attacker has standard posting privileges (TL1 account)
  • Lazy video embeds are enabled (this is the default)
  • The relevant video provider (YouTube, Vimeo, or TikTok) is enabled

Recipients viewing the affected email in HTML-capable clients could see injected content. The impact is limited to the email/chat-summary rendering context; it does not directly expose data from a Discourse session or affect the forum itself.

From discourse/discourse's security advisory.

Workarounds

If immediate upgrade is not possible, disabling lazy video embeds (setting lazy_videos_enabled to false) prevents the vulnerable rendering path from being reached.

Workarounds as given by discourse/discourse's security advisory.

Affected software

SoftwareAffected versions
DiscourseServers and applications · github:discourse/discourse
  • Every version before 2026.8.0
  • From 2026.1.0-latest before 2026.1.8
  • From 2026.6.0-latest before 2026.6.3
  • From 2026.7.0-latest before 2026.7.2

About Discourse

open source Internet forum software application

From Wikidata, CC0 1.0.
Docker Hub pulls
175,357Docker Hub, 15 Nov 2026
GitHub stars
48,085GitHub, 15 Nov 2026
Forks
9,063GitHub, 15 Nov 2026
License
GNU General Public License, version 2.0Wikidata
Written in
Ruby, JavaScriptWikidata
First released
2013Wikidata
First published on GitHub
12 Jan 2013GitHub

References