RCE in Blakeembrey Js-Template

CVE-2024-45390

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

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.004 (35.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-45390?
CVE-2024-45390 is a high-severity vulnerability in Blakeembrey Js-Template, classified under Code Injection. CVSS score: 7.3/10. Published 2024-09-03.
How severe is CVE-2024-45390?
High severity. CVSS v3 base score is 7.3 out of 10.