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

CVE-2026-77616 Scanner

CVE-2026-77616 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. 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's sort anchor does not match the request'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's message-key errors, this raw string bypasses the message layer'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'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.

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

Semantic MediaWiki is a popular extension for MediaWiki that allows users to create and manage structured data within the wiki pages. It is widely used by organizations and individuals for collaborative content management and creation, allowing for easy querying and data integration. Semantic MediaWiki is utilized in diverse fields such as education, research, and knowledge management, providing robust features for semantic data handling. The software's extensibility and capability to handle complex data structures make it a choice tool for entities requiring organized data representation. Many industries rely on it for effective documentation and knowledge sharing, enhancing collaborative workflows and information dissemination.

The vulnerability detected in Semantic MediaWiki versions 7.0.0 through 7.1.0 is a Cross-Site Scripting (XSS) vulnerability. This type of flaw occurs when an application includes untrusted data in a web page without proper validation or escaping, allowing attackers to execute arbitrary JavaScript in a user's browser. This specific vulnerability exists in the Special:Ask feature, whereby a maliciously crafted link can lead to the execution of scripts in the context of the wiki origin. This execution can result in unauthorized actions being performed in the user's session. Such vulnerabilities are critical as they can lead to session hijacking, data theft, or other forms of account compromise.

The vulnerability in Semantic MediaWiki involves the cursor pagination token, an unsigned base64url JSON blob utilized in the Special:Ask feature. The parameter's sort_prop value, when missing proper validation, is written into a raw query error string. Consequently, ErrorWidget, failing to escape this value, prints it with Html::errorBox. This flaw allows an attacker to inject arbitrary HTML and script content by constructing a tailored cursor value. Unanticipated content is incorporated into the page, executing possible malicious code in a victim's browser, displaying the unsanitized data due to improper input handling.

When exploited, this vulnerability could allow attackers to perform actions on behalf of users without their consent, compromise accounts, or alter information on the platform. The ability to execute scripts in another user's session can lead to a wide array of malicious activities like data exfiltration, session hijacking, and unauthorized access to sensitive data. Attackers could manipulate displayed content or extract cookie data, further undermining user trust and platform security. The exploitation may contribute to larger-scale attacks if not mitigated timely and appropriately.

REFERENCES

Solution Advice
  • Update Semantic MediaWiki to version 7.2.0 or later to eliminate this vulnerability.
  • Implement input validation to ensure cursor values are properly sanitized before processing.
  • Apply output encoding to all dynamic content to prevent script execution.
  • Regularly review and test security measures to identify potential vulnerabilities early.
  • Educate users on the risks of clicking on suspicious links and to be wary of URL manipulations.

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