mediawiki/semantic-media-wiki is vulnerable to Cross-Site Scripting (XSS)
61
Medium Risk
Semantic MediaWiki renders Special:Ask result tables, and when headers=plain is requested the table header text is emitted through a raw HTML path. User-controlled mainlabel or property label content is placed into the header without output-context escaping, so markup in that value becomes executable HTML. A crafted request reflects the payload into the response and runs script in the victim's browser on the wiki origin without authentication. The fix escapes plain header values in TableResultPrinter before they reach the table renderer.
You are affected if you run an affected version and expose Special:Ask, which is enabled by default. The vulnerable path is reached when a result table is rendered with headers=plain and user-controlled mainlabel/label content; no login or special permission is required, and the payload is delivered through a crafted link.
mediawiki/semantic-media-wiki is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 7.1.0.
Upgrade the mediawiki/semantic-media-wiki library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant