MEDIUM · CVSS 4.7 Published: 2026-12-03
CVE-2026-142701 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2026-142701 |
|---|---|
| Base Severity / Score | MEDIUM (4.7 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Weakness Classification | CWE-915 |
| Archive Categories | MEDIUM Advisories · 2026 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/bgub/squirrelly/blob/e67c27ca3f4bc76421c63459ffed23c932103be4/src/config.ts#L101-L118
- https://github.com/bgub/squirrelly/blob/e67c27ca3f4bc76421c63459ffed23c932103be4/src/file-handlers.ts#L109-L117
- https://github.com/bgub/squirrelly/commit/6b9f1f5804a45e0d07e3b083fdb42d65f32ec1f4
- https://github.com/bgub/squirrelly/releases/tag/v10.0.0
- https://github.com/bgub/squirrelly/security/advisories/GHSA-wx7c-246h-xv63
- https://www.vulncheck.com/advisories/squirrelly-before-10.0.0-xss-via-autoescape-override-in-renderfile
Related Security Advisories
CVE-2026-142700 MEDIUM 6.1
CVE-2025-15660 CRITICAL 9.6
CVE-2026-142698 MEDIUM 5.8
CVE-2026-142699 MEDIUM 6.1
CVE-2026-118956 MEDIUM 6.5
CVE-2026-118957 MEDIUM 6.5
CVE-2026-119604 MEDIUM 4.1