CVE-2024-45390 - CVE House
Back to Database
Status published High CVE-2024-45390

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

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-45390

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

blakeembrey

View all reports →

Affected Software

js-template
Vulnerable Versions:
< 1.2.0

Timeline

Official Publish: September 3rd, 2024
Last Modified: September 3rd, 2024
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Weaknesses (CWE)