{"id":"CVE-2026-77606","aliases":["EUVD-2026-83171","GHSA-3jp5-3h47-28qf"],"status":"published","title":"Semantic MediaWiki has reflected XSS in Special:Ask plain table headers","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 `\u003cth\u003e` via a raw HTML path. User-controlled `mainlabel` content could therefore become executable HTML. Version 7.2.0 fixes the issue.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00263,"percentile":0.1821,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2026-09-18T16:40:36Z","modified":"2026-10-28T02:30:23Z","fixes":[{"ecosystem":"Packagist","package":"mediawiki/semantic-media-wiki","fixed_in":["7.2.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"mediawiki/semantic-media-wiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"7.1.0"},{"fixed":"7.2.0"}]}]},{"source":"osv","ecosystem":"Packagist","package":"mediawiki/semantic-media-wiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.2.0"}]}],"versions":["1.9","1.9-RC1","1.9.0.1","1.9.0.2","1.9.1","1.9.1.1","1.9.2","1.9beta1","2.0","2.0-RC1","2.0-RC2","2.0-RC3","2.1.0","2.1.0-RC1","2.1.1","2.1.2","2.1.3","2.2.0","2.2.0-RC1","2.2.1","2.2.2","2.2.3","2.3.0","2.3.0-RC1","2.3.1","2.4.0","2.4.0-RC1","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.5.0","2.5.0-rc.1","2.5.1","2.5.2","2.5.3","2.5.4","2.5.5","2.5.6","2.5.7","2.5.8","3.0.0","3.0.0-rc.1","3.0.0-rc.2","3.0.1","3.0.2","3.1.0","3.1.0-rc.1","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.2.0","3.2.0-rc.1","3.2.0-rc.2","3.2.1","3.2.2","3.2.3","4.0.0","4.0.1","4.0.2","4.1.0","4.1.1","4.1.2","4.1.3","4.2.0","5.0.0","5.0.1","5.0.2","5.1.0","6.0.0","6.0.1","7.0.0","7.1.0"]}],"products":[{"vendor":"semanticmediawiki","product":"semanticmediawiki"}],"references":[{"url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-3jp5-3h47-28qf","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/releases/tag/7.2.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/advisories/GHSA-3jp5-3h47-28qf"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77606.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77606","tags":["advisory"]},{"url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-77606","title":"Semantic MediaWiki has reflected XSS in Special:Ask plain table headers","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 `\u003cth\u003e` via a raw HTML path. User-controlled `mainlabel` content could therefore become executable HTML. Version 7.2.0 fixes the issue.","status":"published","published":"2026-09-18T16:41:42.731Z","modified":"2026-09-22T14:59:11.461Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:20:15.712761Z"}],"euvd":[{"id":"EUVD-2026-83171","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 `\u003cth\u003e` via a raw HTML path. User-controlled `mainlabel` content could therefore become executable HTML. Version 7.2.0 fixes the issue.","status":"published","published":"2026-09-18T16:41:42Z","modified":"2026-09-22T14:59:11Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T17:28:02.937716Z"}],"ghsa":[{"id":"GHSA-3jp5-3h47-28qf","title":"Semantic MediaWiki has reflected XSS in Special:Ask plain table headers","description":"#### Failure mode\n\nWhen `headers=plain`, table header text was emitted into `\u003cth\u003e` 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.","status":"published","published":"2026-09-18T16:40:36Z","modified":"2026-09-18T16:40:37Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:41:18.357514Z"}],"nvd":[{"id":"CVE-2026-77606","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 `\u003cth\u003e` via a raw HTML path. User-controlled `mainlabel` content could therefore become executable HTML. Version 7.2.0 fixes the issue.","status":"published","published":"2026-09-18T17:17:00.837Z","modified":"2026-09-24T21:22:19.873Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:12:50.043898Z"}],"osv":[{"id":"CVE-2026-77606","title":"Semantic MediaWiki has reflected XSS in Special:Ask plain table headers","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 `\u003cth\u003e` via a raw HTML path. User-controlled `mainlabel` content could therefore become executable HTML. Version 7.2.0 fixes the issue.","status":"published","published":"2026-09-18T16:41:42.731Z","modified":"2026-10-28T02:30:23.277514824Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:45:17.44708Z"},{"id":"GHSA-3jp5-3h47-28qf","title":"Semantic MediaWiki has reflected XSS in Special:Ask plain table headers","description":"#### Failure mode\n\nWhen `headers=plain`, table header text was emitted into `\u003cth\u003e` 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.","status":"published","published":"2026-09-18T16:40:36Z","modified":"2026-09-18T16:45:09.223502576Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:35.747385Z"}]}}
