{"id":26558,"date":"2026-09-19T04:31:30","date_gmt":"2026-09-18T20:31:30","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-77616"},"modified":"2026-09-19T04:31:30","modified_gmt":"2026-09-18T20:31:30","slug":"cve-2026-77616","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-77616","title":{"rendered":"CVE-2026-77616 [MEDIUM] &#8211; Semantic MediaWiki is a free, open-source extension to MediaWiki that lets users store and"},"content":{"rendered":"<p>Semantic MediaWiki is a free, open-source extension to MediaWiki that lets users store and query data within the wiki&#8217;s pages. In versions 7.0.0 through 7.1.0, `Special:Ask` accepts a `cursor` query parameter for keyset pagination (added in 7.0.0). The token is decoded by `CursorEncoder`, which is an **unsigned** base64url-encoded JSON blob, so its contents are fully attacker-controlled. When the cursor&#8217;s sort anchor does not match the request&#8217;s `sort=` \/ `order=`, `QueryCreator::applyCursorIfRequested()` builds an error message by interpolating the attacker-controlled `sort_prop` \/ `sort_order` values into a raw string via `Query::addErrors()`. Unlike SMW&#8217;s message-key errors, this raw string bypasses the message layer&#8217;s sanitization (`ProcessingErrorMsgHandler::normalizeAndDecodeMessages()` passes a non-key, non-encoded string through unchanged). `ErrorWidget::queryError()` then assembles the errors and passes them to `Html::errorBox()`, whose first argument is emitted as raw HTML. The result is a reflected cross-site scripting vulnerability: a crafted `cursor` token containing markup in `sort_prop` (or `sort_order`) executes script in the victim&#8217;s browser on the wiki origin. No authentication or special permission is required. The payload is delivered via a crafted link. Version 7.2.0 contains a fix.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Semantic MediaWiki is a free, open-source extension to MediaWiki that lets users store and query data within the wiki&#8217;s pages. In versions 7.0.0 through 7.1.0, `Special:Ask` accepts a `cursor` query p<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-26558","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/26558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=26558"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=26558"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=26558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}