org.webjars.npm:fast-xml-parser@4.0.0-beta.8 vulnerabilities

  • latest version

    4.5.0

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    25 days ago

  • licenses detected

  • package manager

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Regular Expression Denial of Service (ReDoS)

org.webjars.npm:fast-xml-parser is a Validate XML, Parse XML, Build XML without C/C++ based libraries

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in currency.js, which can be triggered by supplying excessively long strings such as '\t'.repeat(13337) + '.'

Note: The vulnerability is in the experimental "v5" functionality that is included in version 4.x during development, at the time of discovery.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade org.webjars.npm:fast-xml-parser to version 4.4.1 or higher.

[,4.4.1)
  • H
Regular Expression Denial of Service (ReDoS)

org.webjars.npm:fast-xml-parser is a Validate XML, Parse XML, Build XML without C/C++ based libraries

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to allowing special characters in entity names, which are not escaped or sanitized. An attacker can inject an inefficient regex in the entity replacement step of the parser, this can cause the parser to stall for an indefinite amount of time.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade org.webjars.npm:fast-xml-parser to version 4.2.5 or higher.

[,4.2.5)
  • M
Prototype Pollution

org.webjars.npm:fast-xml-parser is a Validate XML, Parse XML, Build XML without C/C++ based libraries

Affected versions of this package are vulnerable to Prototype Pollution due to improper argument validation, which is exploitable via the aName variable.

How to fix Prototype Pollution?

Upgrade org.webjars.npm:fast-xml-parser to version 4.1.2 or higher.

[,4.1.2)