Description
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).
References (2)
Core 2
Core References
Mailing List, Patch, Vendor Advisory x_refsource_confirm
https://lists.wikimedia.org/pipermail/wikitech-l/2020-March/093243.html
Exploit, Vendor Advisory x_refsource_confirm
https://phabricator.wikimedia.org/T246602
Scores
CVSS v3
5.3
EPSS
0.0021
EPSS Percentile
43.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Details
CWE
CWE-74
Status
published
Products (2)
mediawiki/core
1.31.0 - 1.31.7Packagist
mediawiki/mediawiki
< 1.34.1
Published
Apr 03, 2020
Tracked Since
Feb 18, 2026