What’s Vulnerable › Vulnerabilities
CVE-2021-3777: Inefficient Regular Expression Complexity in daaku/nodejs-tmpl
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-09-15 · updated 2026-06-17
- Weakness: CWE-1333
Description
nodejs-tmpl is vulnerable to Inefficient Regular Expression Complexity
Affected products
- daaku/nodejs-tmpl: before 1.0.5 — fixed in 1.0.5
- Npm Tmpl: before 1.0.5 — fixed in 1.0.5
How to fix
Upgrade to a fixed version: daaku/nodejs-tmpl 1.0.5; Npm Tmpl 1.0.5. Check the vendor advisory for mitigations.
References
- https://github.com/daaku/nodejs-tmpl/commit/4c654e4d1542f329ed561fd95ccd80f30c6872d6
- https://huntr.dev/bounties/a07b547a-f457-41c9-9d89-ee48bee8a4df
- https://github.com/daaku/nodejs-tmpl/commit/4c654e4d1542f329ed561fd95ccd80f30c6872d6
- https://huntr.dev/bounties/a07b547a-f457-41c9-9d89-ee48bee8a4df
Get alerted when CVE-2021-3777 or the next vulnerability affects your stack