VYPR
Medium severity6.8OSV Advisory· Published May 24, 2024· Updated Jun 17, 2026

CVE-2024-36361

CVE-2024-36361

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
pug-code-gennpm
< 3.0.33.0.3
pugnpm
< 3.0.33.0.3

Affected products

114

Patches

Vulnerability mechanics

References

10

News mentions

0

No linked articles in our index yet.