Lucene search

K
nodejsAnonymousNODEJS:1650
HistoryMar 12, 2021 - 10:42 p.m.

Misinterpretation of malicious XML input

2021-03-1222:42:38
Anonymous
www.npmjs.com
155
xml input
xmldom
system identifiers
fpis
namespaces
downstream applications
input validation
malicious documents
software update

EPSS

0.003

Percentile

69.6%

Overview

Impact

xmldom versions 0.4.0 and older do not correctly preserve system identifiers, FPIs or namespaces when repeatedly parsing and serializing maliciously crafted documents.

This may lead to unexpected syntactic changes during XML processing in some downstream applications.

Workarounds

Downstream applications can validate the input and reject the maliciously crafted documents.

Recommendation

Update to 0.5.0 or later

References