Description
The TitleIcon extension for MediaWiki is vulnerable to stored XSS through the #titleicon_unicode parser function. User input passed to this function is wrapped in an HtmlArmor object without sanitization and rendered directly into the page header, allowing attackers to inject arbitrary JavaScript. This issue affects Mediawiki - TitleIcon extension: from 1.39.X before 1.39.13, from 1.42.X before 1.42.7, from 1.43.X before 1.43.2.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')
Product status
1.39.x (semver) before 1.39.13
1.42.x (semver) before 1.42.7
1.43.x (semver) before 1.43.2
References
phabricator.wikimedia.org/T394721
phabricator.wikimedia.org/T394721
gerrit.wikimedia.org/...b638fecbf52b5bec3f02726ed24b1ae74429
gerrit.wikimedia.org/...73445172679634f6ec64d37cf82507dfa110