CVE-2020-26870

MEDIUM6.1EPSS 0.42%

Cross-site Scripting in dompurify

Published: 12/18/2020Modified: 11/8/2023
Also known as:GHSA-63q7-h895-m982

Description

Cure53 DOMPurify before 2.0.17 allows mutation XSS. This occurs because a serialize-parse roundtrip does not necessarily return the original DOM tree, and a namespace can change from HTML to MathML, as demonstrated by nesting of FORM elements.

Affected packages (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References (9)