medium5.3
CVE-2020-10960
MediaWiki makeCollapsible allows applying event handler to any CSS selector
Impact
In MediaWiki before 1.34.1, users can add various Cascading Style Sheets (CSS) classes (which can affect what content is shown or hidden in the user interface) to arbitrary DOM nodes via HTML content within a MediaWiki page. This occurs because jquery.makeCollapsible allows applying an event handler to any Cascading Style Sheets (CSS) selector. There is no known way to exploit this for cross-site scripting (XSS).
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | mediawiki/core | >= 1.31.0, < 1.31.7 | 1.31.7 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Mediawiki | Mediawiki | before 1.34.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://lists.wikimedia.org/pipermail/wikitech-l/2020-March/093243.html
- https://phabricator.wikimedia.org/T246602
- https://github.com/advisories/GHSA-pfm2-mqwj-ggm5
- https://nvd.nist.gov/vuln/detail/CVE-2020-10960
- https://github.com/FriendsOfPHP/security-advisories/blob/master/mediawiki/core/CVE-2020-10960.yaml