CVE-2021-32819
HIGH 8.8CVSS 3.1Insecure template handling in Squirrelly
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.
- Published
- 14 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-q8j6-pwqx-pm96
- Sources
- NVDJSONOSV GHSA-q8j6-pwqx-pm96JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | squirrelly | squirrellycpe:2.3:a:squirrelly:squirrelly:8.0.8:*:*:*:*:*:*:* |
= 8.0.8 | |
| OSV | npm | squirrelly | < 9.0.0 | 9.0.0 |
References
- https://github.com/squirrellyjs/squirrelly/commit/c12418a026f73df645ba927fd29358efe02fed1e · WEB
- https://github.com/squirrellyjs/squirrelly/commit/dca7a1e7ee91d8a6ffffb655f3f15647486db9da · WEB
- https://github.com/squirrellyjs/squirrelly/pull/254 · WEB
- https://securitylab.github.com/advisories/GHSL-2021-023-squirrelly/ · Exploit, Third Party Advisory, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-32819 · ADVISORY
- https://github.com/squirrellyjs/squirrelly · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 14 May 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 May 2021)