mediawiki/semantic-media-wiki is vulnerable to Cross-Site Scripting (XSS)
61
CVE Score
Medium
Cross-Site Scripting (XSS)
Semantic MediaWiki's Special:Ask keyset pagination decodes an unsigned, user-controlled cursor token whose sort_prop and sort_order fields are interpolated into a raw query error string when they do not match the request's sort order. That raw error bypasses the message layer's sanitisation and is emitted as raw HTML through the query error box, producing reflected cross-site scripting. A crafted cursor link runs script in the victim's browser without authentication. The fix output-encodes the cursor sort values before they enter the error text.
Upgrade the mediawiki/semantic-media-wiki library to the patch version.
You are affected if you run 7.0.0 through 7.1.0 with Special:Ask exposed, which is enabled by default; keyset cursor pagination was introduced in 7.0.0, so earlier releases lack this sink entirely. A crafted cursor token delivered by link triggers the reflected error with no authentication or special rights.
7.0.0 - 7.1.0
Fixed in 7.2.0mediawiki/semantic-media-wiki is vulnerable to Cross-Site Scripting (XSS) in versions 7.0.0 - 7.1.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.