PT-2024-31594 · Npm · @Blakeembrey/Template

Filipeom

+1

·

Published

2024-09-03

·

Updated

2024-09-15

·

CVE-2024-45390

CVSS v3.1

7.3

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions @blakeembrey/template versions prior to 1.2.0
Description The issue allows an attacker to inject and run code within the template if they have access to write the template name. This can be achieved by exploiting the template display name feature.
Recommendations For versions prior to 1.2.0, upgrade to version 1.2.0 to fix the issue. As a temporary workaround, do not pass untrusted input as the template display name, or do not use the display name feature.

Exploit

Fix

Code Injection

Weakness Enumeration

Related Identifiers

CVE-2024-45390
GHSA-Q765-WM9J-66QJ

Affected Products

@Blakeembrey/Template