CVE-2024-45390
High
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.
SeverityHigh
CVSS7.3
Exploit probability—
ProductBlakeembrey Template
PublishedSep 3, 2024
First seenSep 3, 2024
Weakness typeCWE-94Code injection
How to fix
Update
- blakeembrey template1.2.0 or later
- @blakeembrey/template1.2.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| blakeembrey template | v < 1.2.0 | 1.2.0 |
| @blakeembrey/templatenpm | v < 1.2.0 | 1.2.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.