{"id":"CVE-2026-77606","aliases":["CVE-2026-77606","GHSA-3jp5-3h47-28qf"],"related":[],"kind":"vulnerability","state":"published","title":"Semantic MediaWiki has reflected XSS in Special:Ask plain table headers","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"#### Failure mode\n\nWhen `headers=plain`, table header text was emitted into `<th>` via a raw HTML path. User-controlled `mainlabel` content could therefore become executable HTML.\n\n#### Remediation\n\n- `TableResultPrinter` now applies output-context escaping before passing plain headers to the table renderer.\n- The fix is limited to the HTML/plain-header branch so safe rendering modes are unaffected.\n\n#### Why this is the right layer\n\nThe 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.","format":"markdown","source":"ghsa"}],"published":"2026-09-18T16:40:36.000Z","modified":"2026-09-24T21:22:19.873Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 7.2.0","status":"affected"}],"vendor":"SemanticMediaWiki","product":"SemanticMediaWiki","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"7.2.0"}],"ecosystem":"Packagist","package":"mediawiki/semantic-media-wiki","purl":"pkg:composer/mediawiki/semantic-media-wiki","source":"ghsa"}],"references":[{"url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-3jp5-3h47-28qf","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/releases/tag/7.2.0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-22T14:58:58.191Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-77606","url":"https://www.cve.org/CVERecord?id=CVE-2026-77606","licence":"CVE Terms of Use","modified":"2026-09-22T14:59:11.461Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3jp5-3h47-28qf","url":"https://github.com/advisories/GHSA-3jp5-3h47-28qf","licence":"CC-BY-4.0","modified":"2026-09-18T16:45:09.223Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-77606","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77606","licence":"Public domain","modified":"2026-09-24T21:22:19.873Z"}],"updatedAt":"2026-11-25T22:59:39.636Z","epss":{"score":0.00286,"percentile":0.22718,"date":"2026-12-01T12:00:22.000Z"}}