Intel

AIKIDO-2026-612940

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

Cross-Site Scripting (XSS)GHSA-59xw-qv23-j3rc Published 4 days ago

61

Medium Risk

This Affects:

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

TL;DR

Semantic MediaWiki's Special:SearchByProperty reflects the user-supplied property and value request parameters back into the rendered form field, validation error messages, and result heading. These values are emitted without sufficient output-context encoding, so markup supplied through property or value becomes executable HTML in the response. A crafted link reflects the payload and runs script in the victim's browser without authentication. The fix escapes the form value and derived error messages before they are rendered into HTML.

Who does this affect?

You are affected if you run an affected version with Special:SearchByProperty reachable, which is enabled by default. A crafted link supplying property/value reflects untrusted input into the rendered form field and error text; exploitation requires no authentication or special permissions.

Background info

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

How to fix this

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