CVE-2026-127109 PUBLISHED

CVE-2026-127109

Assigner: certcc
Reserved: 12.11.2026 Published: 12.11.2026 Updated: 12.11.2026

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.

Product Status

Vendor Promzard
Product Promzard
Versions
  • affected from 0 to 4.0.0 (incl.)

References

Problem Types

  • CWE-94 Improper Control of Generation of Code ('Code Injection')