CVE-2026-77606: Semantic MediaWiki has reflected XSS in Special:Ask plain table headers
Failure mode When headers=plain, table header text was emitted into via a raw HTML path. User-controlled mainlabel content could therefore become executable HTML. Remediation - TableResultPrinter now applies output-context escaping before passing plain headers to the table renderer. - The fix is limited to the HTML/plain-header branch so safe rendering modes are unaffected.
Published Sep 18, 2026
Affected packages
mediawiki/semantic-media-wiki
- Ecosystem
- Composer (PHP)
- Affected
- <= 7.1.0
- Fixed in
- 7.2.0
- Check
composer show mediawiki/semantic-media-wiki
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Failure mode
When headers=plain, table header text was emitted into <th> via a raw HTML path. User-controlled mainlabel content could therefore become executable HTML.
Remediation
TableResultPrinternow applies output-context escaping before passing plain headers to the table renderer.- The fix is limited to the HTML/plain-header branch so safe rendering modes are unaffected.
Why this is the right layer
The header value is not a structural token; it is display data. Sanitizing it at the sink is correct because the renderer owns the final HTML emission.
Credited to krabina.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2025-61682
Semantic MediaWiki vulnerable to stored XSS through wikitext via improper use of non-reserved data attributes
high8.6Sep 18, 2026CVE-2026-77607
Semantic MediaWiki affected by Special:Ask table `sep` parameter reflected XSS
medium6.1Sep 18, 2026CVE-2026-77608
Semantic MediaWiki has reflected XSS in `Special:SearchByProperty` (`property` and `value` parameters)
medium6.1Sep 18, 2026CVE-2026-77609
Semantic MediaWiki has an open redirect in Special:URIResolver
medium6.1Sep 18, 2026CVE-2026-77610
Semantic MediaWiki has a query debug output XSS (`DebugFormatter`)
medium6.1Sep 18, 2026CVE-2026-77616
Semantic MediaWiki affected by reflected XSS in `Special:Ask` via a forged cursor pagination token
medium6.1Sep 18, 2026
