CVE-2026-130790: SemanticMediaWiki 2.5.0 before 7.4.0 Stored XSS via Special:Browse Allows Pattern
SemanticMediaWiki from 2.5.0 before 7.4.0 contains a stored cross-site scripting vulnerability that allows users with the smw-patternedit right to inject script by seeding markup reference names in MediaWiki:Smwallowspattern. Once an editor annotates the matching Allows pattern value, AllowsPatternValue emits it unescaped on Special:Browse, executing JavaScript in every viewer's session.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this vulnerability?
An attacker needs the smw-patternedit right to seed a malicious markup reference name in MediaWiki:Smw_allows_pattern. Exploitation also requires an editor to annotate the matching Allows pattern value.
Who is affected when the payload is triggered?
When a matching value is displayed through Special:Browse, the injected JavaScript executes in every viewer's session. This can affect users who merely view the relevant Special:Browse output.
Are default installations affected?
The issue depends on the smw-patternedit right and use of the Allows pattern mechanism. The provided information does not establish whether those conditions are present in a default installation.
What can be done before upgrading?
Restrict the smw-patternedit right to trusted users and review MediaWiki:Smw_allows_pattern for seeded markup reference names. Avoid annotating matching Allows pattern values until the affected content is removed or the software is upgraded.
How can administrators identify possible compromise?
Review MediaWiki:Smw_allows_pattern and related Allows pattern values for suspicious markup reference names or script-bearing content. Check whether opening the associated Special:Browse results causes unexpected JavaScript execution.