Intel

AIKIDO-2026-530610

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

Cross-Site Scripting (XSS)GHSA-9rcc-pmj8-ffhr Published Today

61

Medium Risk

This Affects:

PHPmediawiki/semantic-media-wiki
4.2.0 - 7.2.0
Fixed in 7.2.1
Are you affected? Scan for Free

TL;DR

Special:FacetedSearch builds hidden card-state (cstate) inputs from request parameters and previously placed those values into HTML attributes without output-context escaping. A crafted cstate value carried in a request is reflected into the rendered search page and can inject markup that runs as live HTML in the browser of a user who views the page. This is a residual of an earlier faceted-search escaping fix that left the card-state loop exploitable. The fix escapes the card-state values before they are written into the template markup.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the Special:FacetedSearch interface is enabled.

Background info

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

How to fix this

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