# pug-code-gen (npm) vulnerabilities

2 known vulnerabilities (2 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Weekly downloads: 5.2M
- Dependents: 9,856
- Registry: https://www.npmjs.com/package/pug-code-gen

## Advisories (2)

### [CVE-2024-36361](https://cve.now/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…

- Severity: Medium 6.8
- Published: May 24, 2024
- Affected: fixed in 3.0.3.

### [CVE-2021-21353](https://cve.now/CVE-2021-21353): Remote code execution in pug

- Severity: Medium 6.8
- Published: Mar 3, 2021
- Affected: fixed in 2.0.3; from 3.0.0, fixed in 3.0.2.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/pug-code-gen
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
