# CVE-2020-10960: MediaWiki makeCollapsible allows applying event handler to any CSS selector

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.15%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-04-03T14:13:52.000Z
- Modified: 2026-06-17T02:48:45.270Z
- Also known as: GHSA-pfm2-mqwj-ggm5, BIT-MEDIAWIKI-2020-10960
- Weaknesses: CWE-74, CWE-116
- Assigned by: mitre

## 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).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mediawiki/core (Packagist): from 1.31.0 before 1.31.7; from 1.33.0 before 1.33.3; from 1.34.0 before 1.34.1
- mediawiki mediawiki: before 1.34.1
- mediawiki (Bitnami): before 1.34.1

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://phabricator.wikimedia.org/T246602> (exploit, vendor-advisory, web)
- <https://lists.wikimedia.org/pipermail/wikitech-l/2020-March/093243.html> (mailing-list, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-10960> (advisory, web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/mediawiki/core/CVE-2020-10960.yaml> (web)

## Sources

- CVE List: [CVE-2020-10960](https://www.cve.org/CVERecord?id=CVE-2020-10960), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-pfm2-mqwj-ggm5](https://github.com/advisories/GHSA-pfm2-mqwj-ggm5), CC-BY-4.0, modified 2024-04-01
- NVD: [CVE-2020-10960](https://nvd.nist.gov/vuln/detail/CVE-2020-10960), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MEDIAWIKI-2020-10960](https://osv.dev/vulnerability/BIT-MEDIAWIKI-2020-10960), Apache-2.0, modified 2025-04-03

---

Page: https://cve.day/CVE-2020-10960 · Whole record: https://cve.day/CVE-2020-10960.json · Rebuilt by cve.day 2026-11-25T22:57:51.775Z
