6.1medium
Semantic MediaWiki has reflected XSS in Special:Ask plain table headers
- Severity
- 6.1medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.29% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-3jp5-3h47-28qf
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| SemanticMediaWiki SemanticMediaWiki | < 7.2.0 | CVE List |
| mediawiki/semantic-media-wiki (Packagist) | before 7.2.0 | GitHub Advisory Database |
All scores
| GitHub_M | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-77606 changed 2026-09-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3jp5-3h47-28qf changed 2026-09-18 | CC-BY-4.0 |
| NVD | CVE-2026-77606 changed 2026-09-24 | Public domain |