VULNERABILITY INTELLIGENCE
CVE-2024-45390
CVSS score7.3 HIGH
EPSS probability0.43%
CISA KEVNot currently listed
Published2024-09-03
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Description
@blakeembrey/template is a string template library. Prior to version 1.2.0, it is possible to inject and run code within the template if the attacker has access to write the template name. Version 1.2.0 contains a patch. As a workaround, don't pass untrusted input as the template display name, or don't use the display name feature.
Weakness classification
- CWE-94: Improper Control of Generation of Code ('Code Injection')
Primary references
- security-advisories@github.com — Patch
- security-advisories@github.com — Vendor Advisory