org.webjars.npm:hot-formula-parser@2.3.3

  • latest version

    3.0.1

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    7 years ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:hot-formula-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
    Arbitrary Code Injection

    org.webjars.npm:hot-formula-parser is a Parser class that evaluates excel and mathematical formulas.

    Affected versions of this package are vulnerable to Arbitrary Code Injection. The package doesn't sanitize values passed to the parse function and concatenates it in an eval call.

    PoC

    SUM([(function(){require('child_process').execSync('touch test')})(),2])

    How to fix Arbitrary Code Injection?

    Upgrade org.webjars.npm:hot-formula-parser to version 3.0.1 or higher.

    [,3.0.1)