fast-xml-parser
5.12.1 · 13 Nov 2026MIT118.5M / weekRepositoryHomepagenpmAtom feed
5.12.1 is the newest release of 5.x.
In short
2 changed
Security
1 advisory affects 5.7.1; 5.12.0 fixes them
- Lowfast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tagsGHSA-474x-hrwr-fgx4 · 10 Nov 2026Fixed in 5.12.0
Release note
Use
@nodable/entitiesv2.1.0breaking changes
single entity scan. You're not allowed to use entity value to form another entity name.
you cant add numeric external entity
entity error message when expantion limit is crossed might change
typings are updated for new options related to process entity
please follow documentation of
@nodable/entitiesfor more detail.performance
if processEntities is false, then there should not be impact on performance.
if processEntities is true, but you dont pass entity decoder separately then performance may degrade by approx 8-10%
if processEntities is true, and you pass entity decoder separately
if no entity then performance should be same as before
if there are entities then performance should be increased from past versions
ignoreAttributes is not required to be set to set xml version for NCR entity value
Update 'fast-xml-builder' to sanitize malicious CDATA and comment's content
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.