js-beautify@1.8.10-beta6

beautifier.io for node

  • latest version

    2.0.3

  • first published

    14 years ago

  • latest version published

    3 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the js-beautify 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
    Memory Allocation with Excessive Size Value

    js-beautify is a reformat and re-indent bookmarklets, ugly JavaScript, unpack scripts packed by Dean Edward’s popular packer, as well as partly deobfuscate scripts processed by the npm package "javascript-obfuscator".

    Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value via an unknown function, allowing a remote attacker to trigger uncontrolled memory allocation by sending a manipulated input, resulting in resource exhaustion.

    How to fix Memory Allocation with Excessive Size Value?

    There is no fixed version for js-beautify.

    >=0.0.0
    • M
    Regular Expression Denial of Service (ReDoS)

    js-beautify is a reformat and re-indent bookmarklets, ugly JavaScript, unpack scripts packed by Dean Edward’s popular packer, as well as partly deobfuscate scripts processed by the npm package "javascript-obfuscator".

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to an unsafe regex in tokenizer.py and tokenizer.js.

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

    Upgrade js-beautify to version 1.14.1 or higher.

    <1.14.1