velocityjs is vulnerable to Remote Code Execution (RCE)
98
CVE Score
Critical
Remote Code Execution (RCE)
velocityjs evaluates property-read expressions in templates without guarding prototype-chain keys. A template that traverses constructor to reach the Function constructor can build and invoke an arbitrary function while the template is rendered. When untrusted templates are rendered, this allows execution of arbitrary code on the server. The fix blocks prototype-chain key access on property, index, and method read paths and on set-style assignment handlers.
Upgrade the velocityjs library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application renders untrusted Velocity templates.
0.3.1 - 2.1.6
Fixed in 2.1.7velocityjs is vulnerable to Remote Code Execution (RCE) in versions 0.3.1 - 2.1.6.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.