pug (npm) has 2 known vulnerabilities, the worst rated MODERATE. Upgrade to 3.0.3 or later to clear all of them. No malicious-package signal is recorded.
Pug through 3.0.2 allows JavaScript code execution if an application accepts untrusted input for the name option of the compileClient, compileFileClient, or…
CyberXYZ does not call a package safe in absolute terms. It records 2 known vulnerabilities for pug (npm), the worst rated MODERATE, and no malicious-package signal. Whether it is acceptable depends on the version you run.
Does pug have known vulnerabilities?
Yes. CyberXYZ records 2 known vulnerabilities for pug (npm), the worst rated MODERATE. They are GHSA-3965-hpx2-q597, GHSA-p493-635q-r6gr.
Which version of pug should I use?
3.0.3 or later clears every advisory recorded for pug (npm). Check the release you pick before installing it.
How do I check pug before installing?
Search pug in CyberXYZ Check at https://cyberxyz.io/check?q=pug. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.
Checked 2026-11-14 at 09:16 UTC. The most recent advisory here was published 2024-05-24. Updated continuously from NVD, GHSA, OSV and CNA feeds.