CVE-2024-45390

HIGH

@blakeembrey/template <1.2.0 - Code Injection

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.3
EPSS 0.0042
EPSS Percentile 62.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-94
Status published
Products (2)
blakeembrey/template < 1.2.0
blakeembrey/template 0 - 1.2.0npm
Published Sep 03, 2024
Tracked Since Feb 18, 2026