Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-77610— Semantic MediaWiki has a query debug output XSS (`DebugFormatter`)

Quick assessment

Affected
SemanticMediaWiki SemanticMediaWiki
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Semantic MediaWiki 是 MediaWiki 的一个免费、开源扩展,允许用户在 Wiki 页面中存储和查询数据。 在 7.2.0 版本之前,查询调试输出(即通过 或在 页面使用 请求参数)由 组装,并以原始 HTML 形式输出。其部分输出位置(sinks)未应用任何输出上下文编码,导致攻击者可控的查询输入未经转义直接反射到页面中。 在 中,生成的字符串直接拼接到页面中,并通过 发送,而不经过 MediaWiki 的解析器(parser)或 Sanitizer 处理。 此漏洞不要求特殊的用户权限,匿名

CVSS 6.1 · Medium EPSS 0.28% · P21

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 1

VendorProduct Version RangeStatus
SemanticMediaWiki SemanticMediaWiki < 7.2.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-77610

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Semantic MediaWiki has a query debug output XSS (`DebugFormatter`)
Source: CVE Program / CVE List V5
Vulnerability 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, query debug output (`format=debug`, or the `debug` request parameter on `Special:Ask`) is assembled by `SMW\Query\DebugFormatter` and emitted as raw HTML. Several of its sinks apply no output-context encoding, so attacker-controlled query input is reflected into the page without escaping. On `Special:Ask` the resulting string is concatenated into the page and sent through `OutputPage::addHTML`, never through the MediaWiki parser or Sanitizer. No special user right is required; an anonymous request suffices. This is a reflected XSS: the payload is taken from the request and echoed in the same response. Exploitation requires the query condition to target a text/blob-typed property (whose value is re-serialized verbatim); the predefined `_txt` properties (`Text`, etc.) that ship on every install satisfy this, so no attacker-created content is needed. Version 7.2.0 patches the issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
SemanticMediaWiki SemanticMediaWiki < 7.2.0 -

II. Public POCs for CVE-2026-77610

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-77610

请登录查看更多情报信息。

Other References for CVE-2026-77610 (2)

Same Patch Batch · SemanticMediaWiki · 2026-09-18 · 7 CVEs total

CVE-2025-61682 8.6 HIGH Semantic MediaWiki vulnerable to stored XSS through wikitext via improper use of non-reser
CVE-2026-77606 6.1 MEDIUM Semantic MediaWiki has reflected XSS in Special:Ask plain table headers
CVE-2026-77609 6.1 MEDIUM Semantic MediaWiki has an open redirect in Special:URIResolver
CVE-2026-77607 6.1 MEDIUM Semantic MediaWiki affected by Special:Ask table `sep` parameter reflected XSS
CVE-2026-77608 6.1 MEDIUM Semantic MediaWiki has reflected XSS in `Special:SearchByProperty` (`property` and `value`
CVE-2026-77616 6.1 MEDIUM Semantic MediaWiki affected by reflected XSS in `Special:Ask` via a forged cursor paginati

IV. Related Vulnerabilities