Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-127109
VULNERABILITY

CVE-2026-127109

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
8.1
Severity
HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Timeline

Published
Nov 12, 2026 16:19
Modified
Nov 16, 2026 17:17
Last observed
Nov 16, 2026 13:00

CWE

CWE-94

References