fast-xml-parser@5.10.0

Validate XML, Parse XML, Build XML without C/C++ based libraries

  • latest version

    5.10.1

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    16 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the fast-xml-parser package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')

    fast-xml-parser is a Validate XML, Parse XML, Build XML without C/C++ based libraries

    Affected versions of this package are vulnerable to Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') via the addInputEntities function. An attacker can cause excessive CPU usage, event-loop blocking, memory exhaustion, and process termination by crafting an XML document with repeated DOCTYPE declarations that reset entity expansion limits.

    How to fix Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')?

    Upgrade fast-xml-parser to version 5.10.1 or higher.

    >=5.9.3 <5.10.1