npm package report

Is velocityjs safe?

2 known vulnerabilities, worst severity CRITICAL.

cvss
9.0

how bad it is if exploited, out of 10

epss
not scored

chance of exploitation in the next 30 days

xyz score
4.6

CyberXYZ composite, out of 10

fig. 01 — GHSA-7gfh-x38p-prh3, the advisory selected below

// advisories

GHSA-7gfh-x38p-prh3

CRITICAL

Remote Code Execution (RCE) in velocityjs v2.1.6 via property-read to the Function constructor. This bypasses the fix for GHSA-j658-c2gf-x6pq ("Prototype Pollution in #set path assignment") — that advisory blocked constructor/proto/prototype only in the #set assignment handler (set.cjs), but property read expressions are unfiltered. Any application rendering attacker-controlled Velocity templates

Affected
>=0, <2.1.7, <= 2.1.6
Fixed in
2.1.7
Weakness
CWE-94
Published
2026-07-24
Source
osv

OSV


// dependencies

1 direct, 1 carrying known advisories, worst HIGH

Sign in for dependency paths and remediation

// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


Checked 2026-09-22 at 01:45 UTC. The most recent advisory here was published 2026-07-24. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is velocityjs safe? npm package security report | CyberXYZ