MEDIUM6.1
GHSA-rj9p-8jxj-2ch4
MediaWiki Cross-site Scripting (XSS) vulnerability
Quick fix
GHSA-rj9p-8jxj-2ch4 — mediawiki/core: upgrade to the fixed version with the command below.
composer require mediawiki/core:^1.34.3Details
An issue was discovered in MediaWiki 1.34.x before 1.34.3. On Special:Contributions, the NS filter uses unescaped messages as keys in the option key for an HTMLForm specifier. This is vulnerable to a mild XSS if one of those messages is changed to include raw HTML.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/mediawiki/core
Introduced in:
1.34.0Fixed in: 1.34.3Fix
composer require mediawiki/core:^1.34.3Packagist/mediawiki/core
Introduced in:
1.35.0-rc.0Fixed in: 1.35.0Fix
composer require mediawiki/core:^1.35.0References
- https://nvd.nist.gov/vuln/detail/CVE-2020-25812[ADVISORY]
- https://gerrit.wikimedia.org/g/mediawiki/core/+/ad4a3ba45fb955aa8c0eb3c83809b16b40a498b9/includes/specials/SpecialContributions.php#592[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/mediawiki/core/CVE-2020-25812.yaml[WEB]
- https://github.com/wikimedia/mediawiki[PACKAGE]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6[WEB]
- https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.html[WEB]
- https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.html[WEB]
- https://phabricator.wikimedia.org/T255918[WEB]