GitHub Advisory Database
GHSA-2rm7-xxx8-35jh
MediaWiki Cross-site Scripting (XSS)
Details
Wikimedia MediaWiki 1.30.0 through 1.32.1 has XSS. Loading user JavaScript from a non-existent account allows anyone to create the account, and perform XSS on users loading that script. Fixed in 1.32.2, 1.31.2, 1.30.2 and 1.27.6.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | mediawiki/core | From 1.27.0 before 1.27.6 (fixed in 1.27.6) |
| Packagist | mediawiki/core | From 1.30.0 before 1.30.2 (fixed in 1.30.2) |
| Packagist | mediawiki/core | From 1.31.0 before 1.31.2 (fixed in 1.31.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-12471
- https://github.com/FriendsOfPHP/security-advisories/blob/master/mediawiki/core/CVE-2019-12471.yaml
- https://github.com/wikimedia/mediawiki
- https://lists.wikimedia.org/pipermail/wikitech-l/2019-June/092152.html
- https://phabricator.wikimedia.org/T207603
- https://seclists.org/bugtraq/2019/Jun/12
- https://www.debian.org/security/2019/dsa-4460