CVE-2024-45390CWE-94

@blakeembrey/template vulnerable to code injection when attacker controls template input

High · published September 3, 2024

CVSS v3.1
7.3
EPSS
0%
Percentile
36.6
In the wild
Unconfirmed
What it is

@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.

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00433 · 36.6th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2024-09-03T19:37Z
EPSS history
Timeline
  • 03 SEP 19:37Z
    @blakeembrey/template vulnerable to code injection when attacker controls template input
    cvelistv5