Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Web Vulnerabilities·Updated Nov 23, 2026

CVE-2026-77610 Scanner

CVE-2026-77610 Scanner - Cross-Site Scripting (XSS) vulnerability in Semantic MediaWiki

How to fix it
Est. Time~10 seconds
Scan TypeGroup Scan
Targetsurl
CostFree
0
Times Used
continuous scan runs
0
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
6.1
CVSSmedium
Exploitable remotely over the internet · no authentication required · user interaction needed.
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.

Attack Vector
Network
Privileges Req.
None
User Interaction
Required
Affected
SemanticMediaWikiby SemanticMediaWiki
< 7.2.0
Updated Nov 29, 2026View on NVD →
Detail

Semantic MediaWiki is a popular extension for MediaWiki used to add semantic annotations and enable advanced querying features. It is widely used in knowledge management systems, wikis, and content management systems to enhance the data retrieval capabilities. Organizations across diverse industries, including education, research, and corporate sectors, utilize Semantic MediaWiki to manage large data sets effectively. The tool allows users to store and retrieve structured data within the wiki, improving collaboration and decision-making processes. Due to its flexibility and robust querying abilities, Semantic MediaWiki finds applications in various information management scenarios. It is particularly preferred by those needing to maintain a large set of interrelated information items.

This vulnerability involves a reflected cross-site scripting (XSS) issue within the Semantic MediaWiki plugin. The security flaw lies in how the query debug output, particularly through the Special:Ask functionality, handles inputs. This specific vulnerability allows attackers to inject arbitrary HTML and scripts through the query parameter due to insufficient input sanitization. As a result, it enables the malicious user to execute JavaScript in the context of the victim's session. This type of vulnerability is marked by its ability to exploit trust in the legitimate website, taking advantage of the user's session with the wiki origin.

The vulnerability arises from the improper handling of query parameters in the Semantic MediaWiki's debug function. Attackers can craft a specially-formatted URL containing malicious JavaScript payloads. When a user clicks the crafted link, the malformed input gets executed on the browser, causing potential unauthorized actions within the user's session. This execution happens because the Ask query string combined with the generated SQL is echoed back as raw HTML, without proper filtering, allowing for script injection. The vulnerability primarily affects users who have debug parameters activated on their query outputs.

Exploiting this XSS vulnerability can lead to various potential adverse effects. Attackers could execute arbitrary scripts in the victim's browser, leading to session hijacking, data theft, or the potential spread of malware. Victims could unknowingly perform unwanted actions on the site, resulting in data corruption or loss. Moreover, the successful exploitation of this vulnerability could lead to a complete compromise of the user's interaction with the wiki, allowing for further attacks. It could also damage the reputation and trust in the affected wiki instance, impacting user confidence.

REFERENCES

Solution Advice
  • Update Semantic MediaWiki to version 7.2.0 or later to fix the vulnerability.
  • Implement server-side input validation to ensure proper handling of user input in ask queries.
  • Apply proper HTML and script sanitization techniques to all user-supplied data components.
  • Employ Content Security Policy (CSP) headers to mitigate potential cross-site scripting attacks.
  • Review access rights and consider limiting the debug output accessibility to only trusted users.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.

Browse All Tools