CVEvulnerability
CVE-2024-36361
6.8 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2024-05-24
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.8 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-94
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.
Related
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://github.com/pugjs/pug/pull/3428 github.com
- https://pugjs.org/api/reference.html pugjs.org
- https://github.com/pugjs/pug/pull/3428 github.com
- https://pugjs.org/api/reference.html pugjs.org