In MediaWiki before 1.35.1, the combination of Html::rawElement and Message::text leads to XSS because the definition of MediaWiki:recentchanges-legend-watchlistexpiry can be changed onwiki so that the output is raw HTML.
References
Link | Resource |
---|---|
https://lists.wikimedia.org/pipermail/mediawiki-announce/2020-December/000268.html | Mailing List Release Notes Vendor Advisory |
https://phabricator.wikimedia.org/T268894 | Exploit Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/STT5Z4A3BCXVH3WIPICWU2FP4IPIMUPC/ | Mailing List Third Party Advisory |
Information
Published : 2020-12-18 00:15
Updated : 2021-02-04 06:30
NVD link : CVE-2020-35474
Mitre link : CVE-2020-35474
JSON object : View
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Products Affected
fedoraproject
- fedora
mediawiki
- mediawiki