{"id":"CVE-2026-116889","kind":"vulnerability","aliases":["CVE-2026-116889"],"related":[],"title":"SemanticMediaWiki: stored XSS via Code-typed property values on Special:Browse","description":"SemanticMediaWiki from 2.5.0 before 7.3.1 contains a stored cross-site scripting vulnerability that allows users with page-edit rights to inject script through Code-typed property values. Attackers can annotate a valid JSON value embedding HTML markup, which the CodeStringValueFormatter renders unescaped on Special:Browse, executing JavaScript in viewers' sessions.","summary":"SemanticMediaWiki versions from 2.5.0 before 7.3.1 fail to escape HTML in Code-typed property values when rendered on Special:Browse. A user with page-edit rights can store a JSON value containing markup that runs JavaScript in the sessions of anyone who views that page.","severity":"medium","cvss":6.1,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["mediawiki","package","self-hosted","semantic-mediawiki"],"not_affected_if":["no-code-typed-properties","no-semantic-mediawiki","patched-version"],"how_to_check":"- Check the installed SemanticMediaWiki version in the wiki's Special:Version page or `composer show mediawiki/semantic-media-wiki`\n- Look for Code-typed properties on the wiki that hold HTML markup","fix":"- Upgrade SemanticMediaWiki to `7.3.1` or later\n- Until upgraded, restrict page-edit rights to trusted editors","status":"open","published_at":"2026-10-27T11:17:31+00:00","first_seen_at":"2026-10-27T11:31:27+00:00","triaged_at":"2026-10-27T11:32:02+00:00","updated_at":"2026-10-27T11:32:02+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-10-27T11:32:02Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade SemanticMediaWiki to `7.3.1` or later\n- Until upgraded, restrict page-edit rights to trusted editors","reach":"internet","title":"SemanticMediaWiki: stored XSS via Code-typed property values on Special:Browse","impact":"medium","summary":"SemanticMediaWiki versions from 2.5.0 before 7.3.1 fail to escape HTML in Code-typed property values when rendered on Special:Browse. A user with page-edit rights can store a JSON value containing markup that runs JavaScript in the sessions of anyone who views that page.","category":"package","nicknames":[],"who_cares":["mediawiki","semantic-mediawiki","self-hosted"],"confidence":0.7,"needs_auth":"yes","worst_case":"Attacker runs JavaScript in other users' sessions on the wiki.","analyst_note":"","how_to_check":"- Check the installed SemanticMediaWiki version in the wiki's Special:Version page or `composer show mediawiki/semantic-media-wiki`\n- Look for Code-typed properties on the wiki that hold HTML markup","needs_analyst":false,"not_affected_if":["patched-version","no-code-typed-properties","no-semantic-mediawiki"],"who_is_affected":"Wikis running SemanticMediaWiki from 2.5.0 up to but not including 7.3.1 that let users edit pages. Exposure requires a Code-typed property to be used, and a viewer of the injected page is needed to trigger the script. Wikis on versions 7.3.1 or later, or without SemanticMediaWiki, are not affected.","user_interaction":"yes","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000638,"input_tokens":3362,"output_tokens":603,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-116889':15A,18A '-2026':14A,17A '2.5.0':30B,76C '7.3.1':32B,78C 'allow':88C 'annot':106C 'anyon':69B 'attack':104C 'brows':12A,47B,121C 'code':6A,39B,100C 'code-typ':5A,38B,99C 'codestringvalueformatt':116C 'contain':60B,79C 'cross':83C 'cross-sit':82C 'cve':13A,16A 'edit':53B,93C 'embed':111C 'escap':35B 'execut':122C 'fail':33B 'host':23B 'html':36B,112C 'inject':96C 'javascript':64B,123C 'json':58B,109C 'markup':61B,113C 'mediawiki':19B,26B 'packag':20B 'page':52B,73B,92C 'page-edit':51B,91C 'properti':8A,41B,102C 'render':44B,117C 'right':54B,94C 'run':63B 'script':85C,97C 'self':22B 'self-host':21B 'semant':25B 'semantic-mediawiki':24B 'semanticmediawiki':1A,27B,74C 'session':67B,126C 'site':84C 'special':11A,46B,120C 'store':2A,56B,81C 'type':7A,40B,101C 'unescap':118C 'user':49B,89C 'valid':108C 'valu':9A,42B,59B,103C,110C 'version':28B 'via':4A 'view':71B 'viewer':125C 'vulner':86C 'xss':3A","nicknames":[],"mitigations":[],"who_affected":"Wikis running SemanticMediaWiki from 2.5.0 up to but not including 7.3.1 that let users edit pages. Exposure requires a Code-typed property to be used, and a viewer of the injected page is needed to trigger the script. Wikis on versions 7.3.1 or later, or without SemanticMediaWiki, are not affected.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-27T11:17:31+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-116889","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116889","severity":null,"published_at":"2026-10-27T11:17:31+00:00","modified_at":"2026-10-27T11:17:31+00:00","first_seen_at":"2026-10-27T11:31:27+00:00","fetched_at":"2026-10-27T11:31:27+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}