CVE-2021-30458Wikimedia Parsoid
Medium 6.1 No auth needed
Follow: this CVE · Wikimedia · Wikimedia Parsoid We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- No
- Published
- Apr 9, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Parsoid.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | wikimedia/parsoid |
≥ 0.12 < 0.12.2 |
0.12.2 |
composer require "wikimedia/parsoid:^0.12.2" |
| Packagist | wikimedia/parsoid |
< 0.11.1 |
0.11.1 |
composer require "wikimedia/parsoid:^0.11.1" |
Per OSV / GitHub Advisories (GHSA-5pqx-77vf-85rw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| wikimedia | parsoid | < 0.11.1 |
| wikimedia | parsoid | ≥ 0.12.0 < 0.12.2 |
Official sources
References
Links published by the sources. Open them with care.
- phabricator.wikimedia.org Issue Tracking Vendor Advisory
- security.gentoo.org Third Party Advisory
- www.mediawiki.org Vendor Advisory