CVE-2026-142701
Published:December 03, 2026
Updated:December 04, 2026
Squirrelly before 10.0.0 contains a cross-site scripting vulnerability that allows remote attackers to disable HTML escaping by supplying engine options in render data passed to renderFile. Attackers can submit keys like autoEscape: false in user-controlled data such as Express req.body to inject script, which persists for later renders when template caching is enabled.
Affected Packages
https://github.com/bgub/squirrelly.git (GITHUB):
Affected version(s) >=v8.0.0-beta.1 <v10.0.0 || >=v8.0.0 <v10.0.0 || >=v9.0.0 <v10.0.0Fix Suggestion:
Update to version v10.0.0squirrelly (NPM):
Affected version(s) >=8.0.0 <10.0.0 || >=9.0.0 <10.0.0 || >=8.0.0-beta.1 <10.0.0Fix Suggestion:
Update to version 10.0.0Related Resources (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
2.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improperly Controlled Modification of Dynamically-Determined Object Attributes
EPSS
Base Score:
0.46