Search for vulnerabilities
| Vulnerability ID | VCID-dy27-1mgt-skf1 |
| Aliases |
CVE-2024-36361
GHSA-3965-hpx2-q597 |
| Summary | 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. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 6.2 |
| Risk | 3.1 |
| Affected and Fixed Packages | Package Details |
| System | Score | Found at |
|---|---|---|
| epss | 0.00363 | https://api.first.org/data/v1/epss?cve=CVE-2024-36361 |
| cvssv3.1_qr | MODERATE | https://github.com/advisories/GHSA-3965-hpx2-q597 |
| cvssv3.1 | 6.8 | https://github.com/pugjs/pug/pull/3428 |
| ssvc | Track* | https://github.com/pugjs/pug/pull/3428 |
| cvssv3.1 | 6.8 | https://pugjs.org/api/reference.html |
| ssvc | Track* | https://pugjs.org/api/reference.html |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Percentile | 0.58793 |
| EPSS Score | 0.00363 |
| Published At | June 11, 2026, 12:55 p.m. |
| Date | Actor | Action | Source | VulnerableCode Version |
|---|---|---|---|---|
| 2026-06-10T18:33:44.583675+00:00 | Vulnrichment | Import | https://github.com/cisagov/vulnrichment/blob/develop/2024/36xxx/CVE-2024-36361.json | 38.6.0 |