~ / search / GHSA-5pqx-77vf-85rw

GHSA-5pqx-77vf-85rw

Wikimedia Parsoid vulnerable to Cross-site Scripting (XSS)

Source: GitHub Advisory Database (reviewed) Moderate CVE-2021-30458

Packages

EcosystemPackageAffectedFixed in
Packagist wikimedia/parsoid >= 0.12, < 0.12.2 0.12.2
Packagist wikimedia/parsoid < 0.11.1 0.11.1

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.