Vulnerabilities/

Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code

Severity:
High

Description

Using Babel to compile code that was specifically crafted by an attacker can lead to arbitrary code execution during compilation, when using plugins that rely on the path.evaluate()or path.evaluateTruthy() internal Babel methods.

Recommendation

Update the @babel/traverse package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@babel/traverse
Anything's wrong? Let us know Last updated on April 04, 2024

This issue is available in SmartScanner Professional

See Pricing