5.3medium
MediaWiki makeCollapsible allows applying event handler to any CSS selector
- Severity
- 5.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.15% (higher than 67% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-pfm2-mqwj-ggm5BIT-MEDIAWIKI-2020-10960
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| 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 | GitHub Advisory Database |
| mediawiki mediawiki | before 1.34.1 | NVD |
| mediawiki (Bitnami) | before 1.34.1 | Bitnami Vulnerability Database |
All scores
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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).
NVD (es)
En MediaWiki versiones anteriores a 1.34.1, los usuarios pueden agregar varias clases de Cascading Style Sheets (CSS) (que pueden afectar que contenido es mostrado u ocultado en la interfaz de usuario) en unos nodos DOM arbitrarios por medio del contenido HTML dentro de una página de MediaWiki. Esto se presenta porque jquery.makeCollapsible permite aplicar un manejador de eventos a cualquier selector de Cascading Style Sheets (CSS). No existe manera conocida de explotar esto para un ataque de tipo cross-site scripting (XSS).
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-10960 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pfm2-mqwj-ggm5 changed 2024-04-01 | CC-BY-4.0 |
| NVD | CVE-2020-10960 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MEDIAWIKI-2020-10960 changed 2025-04-03 | Apache-2.0 |