xml2js@0.4.23 vulnerabilities

Simple XML to JavaScript object converter.

  • latest version

    0.6.2

  • latest non vulnerable version

  • first published

    14 years ago

  • latest version published

    2 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the xml2js 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
    • M
    Prototype Pollution

    Affected versions of this package are vulnerable to Prototype Pollution due to allowing an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the __proto__ property to be edited.

    How to fix Prototype Pollution?

    Upgrade xml2js to version 0.5.0 or higher.

    <0.5.0