Skip to content
OpenAdvisories
Medium · 6.1 CVE-2019-16728 EUVD-2020-0615GHSA-chqj-j4fh-rw7m

Cross-Site Scripting in dompurify

Published Sep 24, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

DOMPurify before 2.0.1 allows XSS because of innerHTML mutation XSS (mXSS) for an SVG element or a MATH element, as demonstrated by Chrome and Safari.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 9 dompurify.js 0.8.2~dfsg1-1+deb9u1 DLA-2419-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS dompurify.js No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm dompurify < 2.0.3 2.0.3 GHSA-chqj-j4fh-rw7m

Advisories 1

References