Medium
Security advisory
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 tag, bypassing sanitization steps, and potentially allowing for XSS.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-30458
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:15 UTC · Revision 1
Source evidence
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 tag, bypassing sanitization steps, and potentially allowing for XSS.
osv:CVE-2021-30458
Complete source record
{
"id": "a443ff5142bc5faffe0d1696dea44e02a208ed41459414b17d746f5f4f85d9b4",
"url": "https://osv.dev/vulnerability/CVE-2021-30458",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-30458",
"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 tag, bypassing sanitization steps, and potentially allowing for XSS.",
"evidence": "osv:CVE-2021-30458",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-30458",
"aliases": [
"CVE-2021-30458",
"GHSA-5pqx-77vf-85rw"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wikimedia/mediawiki-services-parsoid",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "682ac3f9f1381a3c2264d1eb0efbd3eba9e41608"
},
{
"introduced": "4062d23e3660fd34b2adc30a9b883f73415b1607"
},
{
"fixed": "15169a678f9f468ff6465035a32f28e8ec82003f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wikimedia:parsoid:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.11.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:wikimedia:parsoid:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0.12.0"
},
{
"fixed": "0.12.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.11.0",
"v0.12.1",
"v0.12.0",
"v0.10.0",
"v0.8.0",
"v0.9.0",
"v0.7.1",
"v0.7.0",
"v0.6.1",
"v0.6.0",
"v0.5.2",
"v0.5.1",
"v0.5.0",
"v0.4.1",
"v0.4.0",
"v0.3.0",
"v0.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30458.json"
}
}
],
"modified": "2026-10-24T10:31:04.982059284Z",
"provider": "osv",
"references": [
"https://security.gentoo.org/glsa/202107-40",
"https://www.mediawiki.org/wiki/Parsoid",
"https://phabricator.wikimedia.org/T279451"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-30458",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 440648,
"published_at": "2021-04-09T07:15:16.34+00:00"
}