GitHub Advisoryadvisory · npm
GHSA-q8j6-pwqx-pm96 Insecure template handling in Squirrelly
HIGH
Official page ↗
- Aliases
- CVE-2021-32819
- Ecosystem
- npm
- Packages
- squirrelly
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
- Weaknesses
- CWE-200
- Reviewed
- 2021-05-17
Affected packages
• npm squirrelly: < 9.0.0 → fixed in 9.0.0
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. Version 9.0.0 has a fix for this issue. For complete details refer to the referenced GHSL-2021-023.
Related
Alias · CVE (1)
- CVE-2021-32819 Squirrelly is a template engine implemented in JavaScript that works out of the box with ExpressJS. vulnerability
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-32819 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://github.com/squirrellyjs/squirrelly package
- https://securitylab.github.com/advisories/GHSL-2021-023-squirrelly advisory