semantic-release is vulnerable to Code Injection
59
Medium Risk
The tagFormat option and branch configuration string fields are compiled with the Lodash template function while the default evaluate delimiter stays enabled. Because <% ... %> sequences are treated as executable JavaScript, a template value containing such syntax runs arbitrary code inside the release process. An actor able to influence these configuration values, for example through a shared or extended configuration, can execute code and read secrets in the CI environment where the tool runs. The fix compiles these templates with evaluate and escape disabled so evaluation syntax is preserved literally instead of being executed.
You are affected if you are using a version that falls within the vulnerable range and your tagFormat or branch configuration values can be influenced by an untrusted source such as a shared or extended configuration.
semantic-release is vulnerable to Code Injection in versions 13.1.0 - 25.0.7.
Upgrade the semantic-release library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant