Squirrelly before 10.0.0 XSS via autoEscape Override in renderFile
Summary
| CVE | CVE-2026-142701 |
|---|---|
| State | PUBLISHED |
| Assigner | VulnCheck |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 01:17:55 UTC |
| Updated | 2026-12-03 01:17:55 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v4.0 2.3 LOW from [email protected]
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Problem Types: CWE-915 | CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 2.3 | LOW | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/C... |
| 4.0 | CNA | CVSS | 2.3 | LOW | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| 3.1 | [email protected] | Primary | 4.7 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | CNA | CVSS | 4.7 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
PresentPrivileges Required
NoneUser Interaction
PassiveConfidentiality
NoneIntegrity
NoneAvailability
NoneSub Conf.
LowSub Integrity
LowSub Availability
NoneCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Bgub | Squirrelly | affected 10.0.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/bgub/squirrelly/blob/e67c27ca3f4bc76421c63459ffed23c932103be4... | [email protected] | github.com | |
| github.com/bgub/squirrelly/blob/e67c27ca3f4bc76421c63459ffed23c932103be4... | [email protected] | github.com | |
| github.com/bgub/squirrelly/releases/tag/v10.0.0 | [email protected] | github.com | |
| github.com/bgub/squirrelly/commit/6b9f1f5804a45e0d07e3b083fdb42d65f32ec1f4 | [email protected] | github.com | |
| github.com/bgub/squirrelly/security/advisories/GHSA-wx7c-246h-xv63 | [email protected] | github.com | |
| www.vulncheck.com/advisories/squirrelly-before-10.0.0-xss-via-autoescape-overri... | [email protected] | www.vulncheck.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Vishal Suwalka (vsuwalka01) (en)
CNA: Ben Gubler (en)
There are currently no legacy QID mappings associated with this CVE.