CVE-2024-45390

HIGH
Published Sep 3, 2024 Modified Sep 12, 2024 CWE-94

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.

Is your site exposed to CVE-2024-45390?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

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

Weakness Type (CWE)

CWE-94 CWE-94

Affected Products

Vendor Product
blakeembrey template

References

Frequently Asked Questions

What is 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. It has a CVSS v3.1 base score of 7.3 (HIGH).
How severe is CVE-2024-45390? +
CVE-2024-45390 has a CVSS v3.1 score of 7.3 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2024-45390? +
CVE-2024-45390 affects products from blakeembrey, specifically: template. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-45390? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-45390 — free, no signup required.