Lucene search

K
nodejsAnonymousNODEJS:1591
HistoryDec 18, 2020 - 10:54 p.m.

Cross-Site Scripting

2020-12-1822:54:16
Anonymous
www.npmjs.com
56
cure53 dompurify
2.0.17
mutation xss
fix
serialize-parse
namespace change
html
mathml
form elements
upgrade
reference
github advisory

EPSS

0.01

Percentile

83.7%

Overview

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.

Recommendation

Upgrade to version 2.0.17 or later.

References