CVE-2026-127109: Code Injection

Published Nov 12, 2026
·
Updated

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.

Event History

Nov 12, 2026
CVE Published
via MITRE·03:08 PM
Data Sourced
via MITRE·03:08 PM
DescriptionWeakness
Data Sourced
via NVD·04:19 PM
Description

Frequently Asked Questions

1

What access does an attacker need to exploit this issue?

The attacker must be able to control property names in the context object passed to promzard's template-loading functionality. Control of the template file itself is not required.

2

What is the impact of successful exploitation?

A crafted context property name can inject JavaScript into generated source code. The injected code executes with the privileges of the Node.js process.

3

Are trusted template files sufficient to prevent exploitation?

No. The issue can be exploited even when the template file is fully trusted, because the injection occurs through unvalidated context property names.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203