{"id":"CVE-2021-30458","aliases":["GHSA-5pqx-77vf-85rw"],"url":"https://o3.security/vulnerability/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.","published":"2021-04-09T07:15:16.340Z","modified":"2026-07-09T04:31:44.872698Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"wikimedia/parsoid","fixedVersion":"0.12.2"},{"ecosystem":"Packagist","name":"wikimedia/parsoid","fixedVersion":"0.11.1"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202107-40"},{"type":"ADVISORY","url":"https://www.mediawiki.org/wiki/Parsoid"},{"type":"REPORT","url":"https://phabricator.wikimedia.org/T279451"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30458"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/wikimedia/parsoid/CVE-2021-30458.yaml"},{"type":"PACKAGE","url":"https://github.com/wikimedia/mediawiki-services-parsoid"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T04:31:44.872698Z"}}