CVE-2026-77607: Semantic MediaWiki affected by Special:Ask table `sep` parameter reflected XSS
Failure mode sep was inserted verbatim into the HTML that joins a table cell's values. This made it possible to inject HTML through the separator value. The same unsanitised table HTML is produced both for the standard Special:Ask render and for its raw request output (requesttype=raw), so the injection was reachable without authentication.
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
sep was inserted verbatim into the HTML that joins a table cell's values. This made it possible to inject HTML through the separator value. The same unsanitised table HTML is produced both for the standard Special:Ask render and for its raw request output (request_type=raw), so the injection was reachable without authentication.
Remediation
- In all non-wiki output modes (HTML, raw request, file),
sepis escaped unless it is a safe `
` variant.
- This preserves legitimate line-break separators while blocking markup injection.
Maintenance note
If the table renderer ever gains richer separator semantics, keep the whitelist explicit. Do not expand the allowed HTML surface casually.
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-77606
Semantic MediaWiki has reflected XSS in Special:Ask plain table headers
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
