Live threats

All CVEs / Blakeembrey

CVE-2024-45390Blakeembrey Template

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
0.8%
probability of exploitation in 30 days · percentile 54
Auth required
No
Published
Sep 3, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Template.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @blakeembrey/template < 1.2.0 1.2.0 npm install @blakeembrey/template@1.2.0

Per OSV / GitHub Advisories (GHSA-q765-wm9j-66qj). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
blakeembreytemplate< 1.2.0

Official sources

References

Links published by the sources. Open them with care.