CVE-2020-10960
MEDIUM5.3EPSS 0.21%MediaWiki makeCollapsible allows applying event handler to any CSS selector
Published: 5/24/2022Modified: 4/28/2026
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).
Affected packages (4)
- Bitnami/mediawikifrom 0, < 1.34.1
- Debian/mediawikifrom 0, < 1:1.31.7-1
- Debian/mediawikifrom 0, < 1:1.31.7-1~deb10u1
- Packagist/mediawiki/core>= 1.31.0, < 1.31.7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-10960
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-10960
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/mediawiki/core/CVE-2020-10960.yaml
- WEBhttps://lists.wikimedia.org/pipermail/wikitech-l/2020-March/093243.html
- WEBhttps://phabricator.wikimedia.org/T246602