Advisory

GHSA-5pqx-77vf-85rw

Also known as: CVE-2021-30458

Summary

Wikimedia Parsoid vulnerable to Cross-site Scripting (XSS)

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 17:47 UTC
Modified
2024-06-07 22:29 UTC

Affected packages and fixes

wikimedia/parsoid

Packagist · All systems

Affected

  • introduced 0.12, fixed 0.12.2 (ecosystem)

Fixed versions

0.12.2

Fix

The export has no generic command for this ecosystem.

wikimedia/parsoid

Packagist · All systems

Affected

  • introduced 0, fixed 0.11.1 (ecosystem)

Fixed versions

0.11.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences