Intel

AIKIDO-2026-934539

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

Cross-Site Scripting (XSS)GHSA-574v-j8hf-88h3 Published Yesterday

61

Medium Risk

This Affects:

PHPmediawiki/semantic-media-wiki
3.1.0 - 7.3.0
Fixed in 7.3.1
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.

Who does this affect?

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

Background info

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

How to fix this

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

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform