CVE-2024-36361
Last modified
CVE-2024-36361 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. Pug through 3.0.2 allows JavaScript code execution if an application accepts untrusted input for the name option of the compileClient, compileFileClient, or compileClientWithDependenciesTracked function. NOTE: these functions are for compiling Pug templates into JavaScript, and there would typically be no reason to allow untrusted callers.. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
Description
Pug through 3.0.2 allows JavaScript code execution if an application accepts untrusted input for the name option of the compileClient, compileFileClient, or compileClientWithDependenciesTracked function. NOTE: these functions are for compiling Pug templates into JavaScript, and there would typically be no reason to allow untrusted callers.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-36361?
How severe is CVE-2024-36361?
How do I fix CVE-2024-36361?
Are you affected by CVE-2024-36361?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
