CVE-2026-91121 Details
Description
Discourse is an open-source discussion platform. Prior to 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0, attacker-controlled upload filenames used in chat message excerpts were rendered as unescaped HTML. A user able to upload a file and send chat content could place markup in a filename that was then interpreted by chat channel lists, chat summary emails, pinned message bars, reply previews, thread previews, and other excerpt renderers. The issue allowed trusted-HTML injection that altered rendered excerpt content, but JavaScript execution was not demonstrated with default Content Security Policy settings. The advisory states that no confidentiality, integrity, or availability impact was identified, while its structured scoring metadata separately assigns low integrity impact. Sites that disable or relax the default CSP have increased exposure. This issue is fixed in versions 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0.
A vulnerability in Discourse allows for trusted HTML injection through attacker-controlled upload filenames in chat message excerpts. This issue is present in Discourse versions prior to 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0. The vulnerability arises because these filenames are rendered as unescaped HTML in various chat-related features, such as channel lists, summary emails, pinned message bars, and reply/thread previews. While this injection could alter how content is displayed, it did not result in JavaScript execution under default Content Security Policy settings. However, sites that have disabled or relaxed the default CSP may face greater risk.
Users should update to Discourse versions 2026.1.8, 2026.6.3, 2026.7.2, or 2026.8.0, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 24, 2026CISA-ADP
Assessed Sep 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Discourse | >= 2026.1.0-latest (semver) >= 2026.6.0-latest (semver) >= 2026.7.0-latest (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 24, 2026 | New CVE Received | [email protected] |
| Sep 24, 2026 | CVE Modified | CISA-ADP |
Volerion