Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply attacker-controlled ctx property name
-
ExploitCraft name to escape function parameter list
-
Executionpromzard evaluates source via vm.runInThisContext()
-
ImpactArbitrary code execution as Node.js process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a consuming application that passes attacker-controllable property names into promzard's |
| Impact | Signals are mixed and point to a conditional rather than broadly wormable threat. The NVD CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N, C:H/I:H/A:N, base 8.1) frames this as a high-severity network-reachable code-injection flaw, consistent with CWE-94 and the described |
| Exploit ScenarioDerived | An application uses promzard to generate package-style metadata and builds the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Code injection in promzard's template-loading path allows an attacker who controls property names in the context object to execute arbitrary JavaScript with the privileges of the Node.js process. The flaw affects promzard through 4.0.0 and succeeds even when the template file itself is fully trusted, because unvalidated ctx key names are inserted into a generated function's parameter list and evaluated with vm.runInThisContext(). Exposure is conditional: the assessed vector requires low privileges (PR:L) and a consuming application that derives ctx key names from untrusted input; default npm init-style use with static field names is not reachable. No public exploit was identified at time of analysis, and EPSS is 0.24% (percentile 15).
RemediationAI
No vendor-released patch was identified at time of analysis; track https://github.com/npm/promzard and the CERT/CC note https://www.kb.cert.org/vuls/id/685399 for a fixed release. Until a patch is available, the actionable control is to prevent attacker control of ctx key names: in any consuming application, restrict ctx properties to a fixed, developer-defined set, or validate untrusted names against a strict allowlist and map them to hardcoded safe parameter names before calling promzard. Reviewing or trusting the template file is not sufficient because exploitation works with a fully trusted template, while default npm init flows with static field names are not exposed per the assessment. Where untrusted ctx key names cannot be avoided, treat the Node.js process as code-execution-exposed and reduce its privileges or isolate it accordingly, accepting that this limits blast radius rather than preventing the injection.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
promzard is an npm library used for interactive prompting and template-driven scaffolding, including npm init workflows. The vulnerability is CWE-94 (code injection) in the template-loading functionality: the library builds a generated function whose parameter list incorporates property names from the ctx context object without validation or escaping, then evaluates the resulting source with vm.runInThisContext(). A crafted property name can therefore break out of the parameter list and inject JavaScript that executes in the Node.js process. The critical detail is that the injection point is ctx key names rather than template content, so a trusted template does not prevent exploitation. The CPE cpe:2.3:a:promzard:promzard:*:*:*:*:*:*:*:* is a wildcard for the package, and EUVD lists Promzard 0 through 4.0.0 as affected. The assessed vector is CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, with PR:L indicating a low-privileged actor is involved; the sources identify the prerequisite as a consuming application that passes attacker-controllable ctx key names into promzard.
Know when Promzard gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Code execution yields full C/I/A impact; AC:H because the app must feed attacker-controlled ctx property names into promzard (a non-default integration), and PR:L reflects the position needed to influence that input.
Primary rating from Vendor (certcc).
CVSS VectorVendor: certcc
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-127109 is a high-severity code injection vulnerability in promzard, a JavaScript template loader used by npm-init and similar tooling, which can allow an authenticated low-privileged attacker to execute arbitrary code when a consuming application derives context property names from untrusted input. The flaw requires a specific integration pattern and does not affect standard npm init usage with static fields, so direct organizational exposure is expected to be limited to custom applications that dynamically populate promzard contexts. Leadership should prioritize identifying any such applications and applying mitigations while a vendor patch is pending.
No vendor-released patch identified at time of analysis. Interim mitigations include: validating or allowlisting all property names used in promzard context objects before they are processed, refusing to derive ctx keys from untrusted input, isolating promzard-dependent applications in least-privilege environments, and monitoring for anomalous JavaScript execution originating from template loading.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-124522
GHSA-fc4x-77cm-c82f
NVD
CVE.org
EPSS
VulDB
Exploit-DB