CVE-2026-77608: Semantic MediaWiki has reflected XSS in `Special:SearchByProperty` (`property` and `value` parameters)
Failure mode
The value parameter was reflected back into rendered output and error messaging paths without enough output-context encoding.
Remediation
- The form value is escaped before it is placed back into the input field. - Derived error messages are also escaped before being rendered into HTML.
Maintenance note
Do not treat error text as trusted just because it originated from validation. Validation output can still be attacker-influenced.
Other sources
Semantic MediaWiki is a free, open-source extension to MediaWiki that lets users store and query data within the wiki's pages. Prior to version 7.2.0, whenthe value parameter was reflected back into rendered output and error messaging paths without enough output-context encoding. Version 7.2.0 fixes the issue.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/mediawiki/semantic-media-wikito a version that resolves this vulnerability.Fixed in 7.2.0 - Upgrade
Upgrade
Semantic MediaWikito a version that resolves this vulnerability.Fixed in 7.2.0
Event History
Frequently Asked Questions
Which deployments are affected?
Semantic MediaWiki versions prior to 7.2.0 are affected. The issue is in the Special:SearchByProperty endpoint when handling reflected input in the property and value parameters.
What must an attacker do to exploit this issue?
An attacker needs to cause a user to interact with a crafted request to Special:SearchByProperty containing malicious parameter input. The vector is network-accessible, requires no attacker privileges, and requires user interaction.
What is the recommended remediation?
Upgrade Semantic MediaWiki to version 7.2.0, which fixes the insufficient output-context encoding.