@babel/core@7.13.15

Babel compiler core.

  • latest version

    8.0.1

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    28 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @babel/core 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
    • L
    Directory Traversal

    Affected versions of this package are vulnerable to Directory Traversal via the inputSourceMap function. An attacker can access arbitrary files by crafting malicious input source code containing a #sourceMappingURL comment that references a specific source map file path.

    Note:

    This is only exploitable if all these conditions are met: the attacker controls the input source code, can read the output source code, and knows the path of the source map file they want to read.

    How to fix Directory Traversal?

    Upgrade @babel/core to version 7.29.6, 8.0.0-rc.6 or higher.

    <7.29.6>=8.0.0-alpha.0 <8.0.0-rc.6