In short
- CVE-2026-77606 is a MEDIUM (CVSS 6.1) vulnerability affecting mediawiki/semantic-media-wiki.
- Chance of exploitation in the next 30 days (EPSS): 0.26%, higher than 18.2% of all vulnerabilities.
- Fix: update to 7.2.0 or later.
Description
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
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.
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.
NVD description
Semantic MediaWiki is a free, open-source extension to MediaWiki that lets users store and query data within the wiki's pages. Prior to version 7.2.0, when `headers=plain`, table header text was emitted into `<th>` via a raw HTML path. User-controlled `mainlabel` content could therefore become executable HTML. Version 7.2.0 fixes the issue.
More vulnerabilities in mediawiki/semantic-media-wiki
See all →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free