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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/shepherdwind/velocity.js/security/advisories/GHSA-j658-c2gf-x6pq exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product