CVE-2026-77606
JSON

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 packageVersionsReported by
SemanticMediaWiki SemanticMediaWiki< 7.2.0CVE List
mediawiki/semantic-media-wiki (Packagist)before 7.2.0GitHub Advisory Database

All scores

GitHub_M6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

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
  • 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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-77606 changed 2026-09-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-3jp5-3h47-28qf changed 2026-09-18CC-BY-4.0
NVDCVE-2026-77606 changed 2026-09-24Public domain