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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Blakeembrey | Template | < 1.2.0 |
Related Weaknesses (CWE)
References
- https://github.com/blakeembrey/js-template/commit/b8d9aa999e464816c6cfb14acd1ad0Patch
- https://github.com/blakeembrey/js-template/security/advisories/GHSA-q765-wm9j-66Vendor Advisory
FAQ
What is CVE-2024-45390?
CVE-2024-45390 is a vulnerability with a CVSS score of 7.3 (HIGH). @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...
How severe is CVE-2024-45390?
CVE-2024-45390 has been rated HIGH with a CVSS base score of 7.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-45390?
Check the references section above for vendor advisories and patch information. Affected products include: Blakeembrey Template.