HIGH 8.1

CVE-2026-127109

CVE-2026-127109

Preliminary: affected artifacts were inferred from the fix commits of the source repository and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

Description

A code injection vulnerability in promzard’s template-loading functionality allows an attacker who can control property names in the context object (ctx) to execute arbitrary code with the privileges of the Node.js process. The library inserts context property names into a generated function’s parameter list without validation or escaping and evaluates the resulting source using vm.runInThisContext(). A crafted property name can escape the parameter list and inject JavaScript code, even when the template file is fully trusted.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.webjars.npm » promzardpreliminary
<= 4.0.0
-

Blast radius

1affected artifacts
3affected versions
0dependent artifacts (est.)
0dependent versions

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.