Code injection in promzard template loading runs code in Node.js
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-94.
Summary
Promzard versions from 0 through 4.0.0 are affected. The template loader inserts context property names into a generated function's parameter list without validation or escaping, then evaluates it with vm.runInThisContext(). A crafted property name escapes the parameter list and injects JavaScript, so an attacker who controls ctx property names can run code with the privileges of the Node.js process, even when the template file is trusted. This is CWE-94.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for Promzard.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Timeline
- 2026-11-12 Threatist record created from CVE-2026-127109
- 2026-11-12 Alias added: GHSA-fc4x-77cm-c82f
- 2026-11-16 CVSS score added · CISA ADP
- 2026-11-16 Weakness changed · CISA ADP
- 2026-11-16 CISA SSVC decision points changed
References
Sources
- CVE-2026-127109 · CVE Program
- CVE-2026-127109 · NVD
- FIRST EPSS
- GHSA-fc4x-77cm-c82f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences