RCE in N/a

CVE-2024-36361

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.005 (39.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N.

Affected products

  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-36361?
CVE-2024-36361 is a medium-severity vulnerability in N/a, classified under Code Injection. CVSS score: 6.8/10. Published 2024-05-24.
How severe is CVE-2024-36361?
Medium severity. CVSS v3 base score is 6.8 out of 10.
Is CVE-2024-36361 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.