Skip to content
Fencer Vulns
medium 6.1

CVE-2021-30458 json

Wikimedia Parsoid vulnerable to Cross-site Scripting (XSS)

published 2021-04-09 5 y ago modified 2026-06-17 4 mo ago also GHSA-5pqx-77vf-85rw , EUVD-2022-2633

cvss
6.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 62%
public exploits
0
none known

Summary

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.

Patch / fix

  • packagist wikimedia/parsoid 0.11.1, 0.12.2
  • wikimedia parsoid 0.11.1, 0.12.2
  • mediawiki Debian 14, Debian 13, Debian 12 1:1.35.2-1

debian advisories DEBIAN-CVE-2021-30458

  • mediawiki Arch Linux 1.35.2-1

arch linux advisories AVG-1775

Exploit prediction

0.98% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
packagist wikimedia/parsoid
>=0.12, <0.12.2
<0.11.1
0.12.2
0.11.1

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.