Pug through 3.0.2 allows JavaScript code execution if an application accepts untrusted input for the name…
Historical advisory recorded 25 Oct 2026 00:17:15 UTC. Read the latest advisory.
nvd · CVE-2024-36361
PublishedPug 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2024-36361
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-94
Original publisher date fields
published: 2024-05-24T06:15:08.947
lastModified: 2026-06-17T07:36:34.587
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON