Intel

AIKIDO-2026-934539

mediawiki/semantic-media-wiki is vulnerable to Cross-Site Scripting (XSS)

GHSA-574v-j8hf-88h3Published Oct 13, 2026
October 13, 2026

61

CVE Score

Medium

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

JsonResultPrinter returns the default parameter unchanged when a query has no results and the output mode is SMW_OUTPUT_FILE. Special:Ask serves that response without a Content-Type header, so the browser parses it as HTML and runs the reflected markup, leading to cross-site scripting. The fix escapes default before writing the file output.

How do I fix this?

Upgrade the mediawiki/semantic-media-wiki library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

3.1.0 - 7.3.0

Fixed in 7.3.1

Background info

mediawiki/semantic-media-wiki is vulnerable to Cross-Site Scripting (XSS) in versions 3.1.0 - 7.3.0.

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea