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.
Published: 2024-05-24
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

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
History

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

Type Values Removed Values Added
Metrics epss

{'score': 0.00267}

epss

{'score': 0.00148}


Subscriptions

No data.

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 : Deferred

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

Modified: 2026-04-15T00:35:42.020

Link: CVE-2024-36361

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses