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.
Advisories
Source ID Title
EUVD EUVD EUVD-2024-1383 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.
Github GHSA Github GHSA GHSA-3965-hpx2-q597 Pug allows JavaScript code execution if an application accepts untrusted input
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00267}

epss

{'score': 0.00148}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-02-13T15:59:18.755Z

Reserved: 2024-05-24T00:00:00.000Z

Link: CVE-2024-36361

cve-icon Vulnrichment

Updated: 2024-08-02T03:37:04.700Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-24T06:15:08.947

Modified: 2024-11-21T09:22:01.357

Link: CVE-2024-36361

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses