CVE-2021-30458
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
wikimedia/parsoid (Packagist)from 0.12 before 0.12.2, before 0.11.1GitHub Advisory Database
wikimedia parsoidbefore 0.11.1, from 0.12.0 before 0.12.2NVD

All scores

GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD4.3medium CVSS:2.0AV: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.&#xa0;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

Sources

SourceRecordLicence
CVE ListCVE-2021-30458 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-5pqx-77vf-85rw changed 2024-06-07CC-BY-4.0
NVDCVE-2021-30458 changed 2026-06-17Public domain