CVE-2026-127109
Summary
| CVE | CVE-2026-127109 |
|---|---|
| State | PUBLISHED |
| Assigner | certcc |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-12 16:19:07 UTC |
| Updated | 2026-11-12 19:22:01 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-94 Improper Control of Generation of Code ('Code Injection')
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.kb.cert.org/vuls/id/685399 | af854a3a-2127-422b-91ae-364da2661108 | www.kb.cert.org | |
| github.com/npm/promzard | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.