HTML Injection Vulnerability in Discourse Video Placeholder Component
CVE-2026-91122
What is CVE-2026-91122?
The vulnerability found in the Discourse video placeholder component allows an authenticated user with default trust-level posting privileges to store a crafted HTML placeholder in a post. When another user views this post and interacts with the video play overlay, the crafted placeholder can execute arbitrary JavaScript within the viewer's session. While default Content Security Policy settings typically block inline event handlers, instances with relaxations or disabled CSP settings are particularly vulnerable, enabling attacks that may read sensitive page content or make unauthorized authenticated requests.
Affected Version(s)
discourse < 2026.8.0 < 2026.8.0
discourse >= 2026.7.0-latest, < 2026.7.2 < 2026.7.0-latest, 2026.7.2
discourse >= 2026.6.0-latest, < 2026.6.3 < 2026.6.0-latest, 2026.6.3