An issue was discovered in MediaWiki 1.34.x before 1.34.4. 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.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25812
Reference (s):
- https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.html
- FEDORA:FEDORA-2020-a4802c53d9
- URL: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6/
- https://gerrit.wikimedia.org/g/mediawiki/core/+/ad4a3ba45fb955aa8c0eb3c83809b16b40a498b9/includes/specials/SpecialContributions.php#592
- https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.html