Description
includes/libs/IEUrlExtension.php in the MediaWiki API in MediaWiki 1.19.x before 1.19.8, 1.20.x before 1.20.7, and 1.21.x before 1.21.2 does not properly detect extensions when there are an even number of "." (period) characters in a string, which allows remote attackers to conduct cross-site scripting (XSS) attacks via the siprop parameter in a query action to wiki/api.php.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Wikimedia Foundation | MediaWiki | 1.19.x before 1.19.8, 1.20.x before 1.20.7, and 1.21.x before 1.21.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mediawiki | 1:1.19.8+dfsg-1 | — |
| Debian 13 | mediawiki | 1:1.19.8+dfsg-1 | — |
| Debian 12 | mediawiki | 1:1.19.8+dfsg-1 | — |