ADVISORIES

GitHub Advisory Database

GHSA-5pqx-77vf-85rw

Wikimedia Parsoid vulnerable to Cross-site Scripting (XSS)

Moderate CVE-2021-30458

Details

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 packages

EcosystemPackageAffected versions
Packagistwikimedia/parsoid
From 0.12 before 0.12.2 (fixed in 0.12.2)
Packagistwikimedia/parsoid
All versions before 0.11.1 (fixed in 0.11.1)

References