Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/pugjs/pug/pull/3428
- https://pugjs.org/api/reference.html
- https://github.com/pugjs/pug/pull/3428
- https://pugjs.org/api/reference.html
FAQ
What is CVE-2024-36361?
CVE-2024-36361 is a vulnerability with a CVSS score of 6.8 (MEDIUM). 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 functi...
How severe is CVE-2024-36361?
CVE-2024-36361 has been rated MEDIUM with a CVSS base score of 6.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-36361?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.