Servers and applications
CVE-2026-91121
Chat upload filenames rendered as raw HTML in excerpts
- Severity
- Medium 5.0
- 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.3% in the next 30 daysHigher than 17% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N- Also known as
- GHSA-34rh-wjfv-65gq
- Sources
- Project advisories (GitHub)
Description
In affected versions, attacker-controlled upload filenames used in chat message excerpts were rendered as unescaped HTML. An attacker who can upload a file with specially crafted markup in its filename could inject HTML into chat channel lists, chat summary emails, pinned message bars, reply/thread previews, and other excerpt renderers when other users view chat content.
This was addressed as a trusted-HTML rendering vulnerability, not as confirmed stored XSS. JavaScript execution was not demonstrated with Discourse's default security settings, and no confidentiality, integrity, or availability impact was identified. While the risk is limited, sites that have disabled or modified Discourse's default Content Security Policy (CSP) face increased exposure, and users should update to a patched version if available.
Workarounds
No known workarounds for this issue.
Affected software
| Software | Affected versions |
|---|---|
DiscourseServers and applications · github:discourse/discourse |
|
About Discourse
open source Internet forum software application
- 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
Website Source code Docker image
Vulnerabilities in Discourse
- In our list
- 341
- Published in the last 12 months
- 185
- Critical, last 12 months
- 3
- High, last 12 months
- 31
- Known exploited
- 0
- GHSA-76mf-9xwc-vg66Whisper content disclosed outside configured whisper groupsMedium 4.9 19 Nov 2026
- GHSA-5gx7-f5fg-4jgwRead-only API keys could authenticate users to sites connected through DiscourseConnectMedium 6.4 19 Nov 2026
- GHSA-q3x3-2cm7-fq79System messages give the sender's authority to quoted member textMedium 5.4 19 Nov 2026
- GHSA-fx7j-6fh9-xwvmUnauthenticated DoS: integer user API public key triggers RSA key generationMedium 10 Nov 2026
- GHSA-vrgg-p6pm-xx4wQuoteComparer skips Guardian: any user can read PMs via quote-modifiedHigh 10 Nov 2026
- GHSA-rrpc-6h6v-cq9hMarkdown root route leaks Latest topic list on login_required sitesMedium 5.3 10 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-91121
- GitHub Advisory Database https://github.com/advisories/GHSA-34rh-wjfv-65gq
- github.com https://github.com/discourse/discourse/security/advisories/GHSA-34rh-wjfv-65gq