Skip to content

CVE-2026-44966 Velocity.js: Prototype Pollution in #set path assignment

CriticalCVSS 9.8 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

Velocity.js is a JavaScript implementation of the Apache Velocity template engine. In 2.1.5 and earlier, a prototype pollution vulnerability was discovered in velocityjs. This issue occurs during the processing of #set directives in Velocity templates. If an application renders a template controlled by an attacker, it is possible to modify Object.prototype, potentially leading to Denial of Service (DoS) or Remote Code Execution (RCE) depending on the server environment.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm velocityjs(npm) <= 2.1.5 after 2.1.5 Fixed
shepherdwind velocity.js <= 2.1.5; = <= 2.1.5 after 2.1.5 Fixed

Affected products

ProductAffected versionsFixed in
shepherdwind velocity.js = <= 2.1.5 No fix listed
npm velocityjs(npm) <= 2.1.5 No fix listed
shepherdwind velocity.js <= 2.1.5 No fix listed

References