Remote Code Execution in Squirrelly Template Engine via ExpressJS Configuration Overwrite

Remote Code Execution in Squirrelly Template Engine via ExpressJS Configuration Overwrite

CVE-2021-32819 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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.

Learn more about our Api Penetration Testing.