6.1medium
Wikimedia Parsoid vulnerable to Cross-site Scripting (XSS)
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.98% (higher than 61% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-5pqx-77vf-85rw
Description
An issue was discovered in Wikimedia Parsoid before 0.11.1 and 0.12.x before 0.12.2. An attacker can send crafted wikitext that Utils/WTUtils.php will transform by using a <meta> tag, bypassing sanitization steps, and potentially allowing for XSS.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| wikimedia/parsoid (Packagist) | from 0.12 before 0.12.2, before 0.11.1 | GitHub Advisory Database |
| wikimedia parsoid | before 0.11.1, from 0.12.0 before 0.12.2 | NVD |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
An issue was discovered in Wikimedia Parsoid before 0.11.1 and 0.12.x before 0.12.2. An attacker can send crafted wikitext that Utils/WTUtils.php will transform by using a <meta> tag, bypassing sanitization steps, and potentially allowing for XSS.
NVD (es)
Se detectó un problema en Wikimedia Parsoid versiones anteriores a 0.11.1 y versiones 0.12.x anteriores a 0.12.2. Un atacante puede enviar wikitexto diseñado que el archivo Utils/WTUtils.php transformará mediante el uso de una etiqueta (meta), omitiendo los pasos de saneamiento y potencialmente permitiendo un ataque de tipo XSS
References
| https://phabricator.wikimedia.org/T279451 | issue-tracking, vendor-advisory, web | |
| https://www.mediawiki.org/wiki/Parsoid | vendor-advisory, web | |
| https://security.gentoo.org/glsa/202107-40 | third-party-advisory, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-30458 | advisory | |
| https://github.com/FriendsOfPHP/security-advisories/blob/master/wikimedia/parsoid/CVE-2021-30458.yaml | web | |
| https://github.com/wikimedia/mediawiki-services-parsoid | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-30458 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5pqx-77vf-85rw changed 2024-06-07 | CC-BY-4.0 |
| NVD | CVE-2021-30458 changed 2026-06-17 | Public domain |