CVE-2020-10960
MEDIUM 5.3CVSS 3.1MediaWiki makeCollapsible allows applying event handler to any CSS selector
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).
- Published
- 3 Apr 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-116CWE-74
- Also known as
- BIT-mediawiki-2020-10960GHSA-pfm2-mqwj-ggm5
- Sources
- NVDJSONOSV GHSA-pfm2-mqwj-ggm5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mediawiki | mediawikicpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:* |
< 1.34.1 | 1.34.1 |
| OSV | Packagist | mediawiki/core | >= 1.31.0, < 1.31.7 | 1.31.7 |
| OSV | Packagist | mediawiki/core | >= 1.33.0, < 1.33.3 | 1.33.3 |
| OSV | Packagist | mediawiki/core | >= 1.34.0, < 1.34.1 | 1.34.1 |
References
- https://lists.wikimedia.org/pipermail/wikitech-l/2020-March/093243.html · Mailing List, Patch, Vendor Advisory, WEB
- https://phabricator.wikimedia.org/T246602 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-10960 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/mediawiki/core/CVE-2020-10960.yaml · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 3 Apr 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 2022)