CVE-2021-32819 in the critical feed json
Remote code execution in squirrelly
published 2021-05-14 5 y ago modified 2026-06-17 4 mo ago also GHSA-q8j6-pwqx-pm96 , EUVD-2021-1163
- cvss
- 8.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 58.3%
- EPSS 58.3% chance of exploitation in 30 days, percentile 99.1%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
Squirrelly is a template engine implemented in JavaScript that works out of the box with ExpressJS. Squirrelly mixes pure template data with engine configuration options through the Express render API. By overwriting internal configuration options remote code execution may be triggered in downstream applications. This issue is fixed in version 9.0.0. For complete details refer to the referenced GHSL-2021-023.
Patch / fix
- npm squirrelly 9.0.0
Exploit prediction
58.29% chance of exploitation in the next 30 days, higher than 99.1% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Nodejs Squirrelly - Remote Code Execution nuclei detection template
- securitylab.github.com https://securitylab.github.com/advisories/GHSL-2021-023-squirrelly/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | squirrelly | <9.0.0 |
9.0.0 |
Affected products
- squirrellyjs squirrelly
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
github.com
/squirrellyjs/squirrelly/pull/254
web
-
github.com
/squirrellyjs/squirrelly/commit/c12418a026f73df645ba927fd29358efe02fed1e
web
-
github.com
/squirrellyjs/squirrelly/commit/dca7a1e7ee91d8a6ffffb655f3f15647486db9da
web
-
securitylab.github.com
/advisories/GHSL-2021-023-squirrelly/
exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-32819
advisory
-
github.com
/squirrellyjs/squirrelly
package
-
securitylab.github.com
/advisories/GHSL-2021-023-squirrelly
advisory
Sources
- CVE List CVE-2021-32819
- GitHub Advisory GHSA-q8j6-pwqx-pm96
- NVD CVE-2021-32819
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.