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.
History

Fri, 13 Nov 2026 09:00:00 +0000

Type Values Removed Values Added
First Time appeared Promzard
Promzard promzard
Vendors & Products Promzard
Promzard promzard

Thu, 12 Nov 2026 17:30:00 +0000

Type Values Removed Values Added
References

Thu, 12 Nov 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title CVE-2026-127109
References

cve-icon MITRE

Status: PUBLISHED

Assigner: certcc

Published: 2026-11-12T15:08:53.202Z

Updated: 2026-11-12T17:05:17.829Z

Reserved: 2026-11-12T15:07:38.409Z

Link: CVE-2026-127109

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-12T16:19:07.097

Modified: 2026-11-12T19:22:01.433

Link: CVE-2026-127109

cve-icon Redhat

No data.