🛡️ CVE-2024-36361
🟡 CVSS 6.8 — Medium ✅ No Known Exploit CWE-94 NVD
6.8
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Details

Severity Medium
CVSS Score 6.8
CVSS Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
CWE CWE-94
Public Exploit ✅ No
Source NVD
Published 2024-05-24
Updated 2026-06-02
Modified 2026-02-04
Fix URL N/A

Affected Packages

Software From version Fixed in
pug
pug-code-gen
unknown

Similar Threats

Free Vulnerability Check

Is your WordPress site affected?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.