Vulnerabilities/

fast-xml-parser: Repeated DOCTYPE declarations reset entity expansion limits

Severity:
High

Description

fast-xml-parser processes multiple “DOCTYPE” declarations within a single XML document. Each declaration passes its entities to @nodable/entities through addInputEntities().

addInputEntities() resets the entity expansion counters every time it is called.

Recommendation

Update the fast-xml-parser package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
fast-xml-parser
Anything's wrong? Let us know Last updated on August 13, 2026