CVE-2026-142701
LOW 2.3CVSS 4.0Squirrelly before 10.0.0 XSS via autoEscape Override in renderFile
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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Received
- Weakness
- CWE-915
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | LOW 2.3 | 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 |
| CVE List | VulnCheck | CVSS 4.0 | LOW 2.3 | 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CVE List | VulnCheck | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | bgub | squirrelly | < 10.0.0 | 10.0.0 |
References
- https://github.com/bgub/squirrelly/blob/e67c27ca3f4bc76421c63459ffed23c932103be4/src/config.ts#L101-L118 · technical-description
- https://github.com/bgub/squirrelly/blob/e67c27ca3f4bc76421c63459ffed23c932103be4/src/file-handlers.ts#L109-L117 · technical-description
- https://github.com/bgub/squirrelly/commit/6b9f1f5804a45e0d07e3b083fdb42d65f32ec1f4 · patch
- https://github.com/bgub/squirrelly/releases/tag/v10.0.0 · release-notes
- https://github.com/bgub/squirrelly/security/advisories/GHSA-wx7c-246h-xv63 · vendor-advisory
- https://www.vulncheck.com/advisories/squirrelly-before-10.0.0-xss-via-autoescape-override-in-renderfile · third-party-advisory
History
- 3 Dec 2026 17:56 UTC · NVD: updated (other details)
- 3 Dec 2026 15:56 UTC · CVE List: updated (other details)
- 3 Dec 2026 03:06 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 00:30 UTC · CVE List: first stored (published 3 Dec 2026)