Skip to content
OpenAdvisories
High · 8.3 CVE-2026-44966 EUVD-2026-32007GHSA-j658-c2gf-x6pq

Velocity.js: Prototype Pollution in #set path assignment

Published May 26, 2026 · Updated Jun 1, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
shepherdwind velocity.js <= 2.1.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm velocityjs <= 2.1.5 — GHSA-j658-c2gf-x6pq

References