# CVE-2021-32819: Remote code execution in squirrelly

- Severity: High 8.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 59.7%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-14T00:00:00.000Z
- Modified: 2026-06-17T03:53:41.787Z
- Also known as: GHSA-q8j6-pwqx-pm96
- Weaknesses: CWE-200
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- squirrellyjs squirrelly: from 9.0.0 before 9.0.0
- squirrelly (npm): before 9.0.0
- squirrelly squirrelly: 8.0.8

## Every score

- GitHub_M: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://securitylab.github.com/advisories/GHSL-2021-023-squirrelly/> (exploit, third-party-advisory)
- <https://github.com/squirrellyjs/squirrelly/pull/254> (web)
- <https://github.com/squirrellyjs/squirrelly/commit/c12418a026f73df645ba927fd29358efe02fed1e> (web)
- <https://github.com/squirrellyjs/squirrelly/commit/dca7a1e7ee91d8a6ffffb655f3f15647486db9da> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32819> (advisory)
- <https://github.com/squirrellyjs/squirrelly> (package)
- <https://securitylab.github.com/advisories/GHSL-2021-023-squirrelly> (advisory)

## Sources

- CVE List: [CVE-2021-32819](https://www.cve.org/CVERecord?id=CVE-2021-32819), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-q8j6-pwqx-pm96](https://github.com/advisories/GHSA-q8j6-pwqx-pm96), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-32819](https://nvd.nist.gov/vuln/detail/CVE-2021-32819), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32819 · Whole record: https://cve.day/CVE-2021-32819.json · Rebuilt by cve.day 2026-11-25T22:58:01.350Z
