Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
2.3
CVE-2026-142701: Squirrelly before 10.0.0 lets attackers inject scripts
CVE-2026-142701 · published today
Summary
The Squirrelly template engine can be tricked into turning off its safety feature that hides HTML code. If a web application passes user data directly to Squirrelly, an attacker could insert malicious script code that later runs for other users, especially when template caching is on. Update Squirrelly to version 10.0.0 or later and ensure user input is validated or auto‑escaping is kept enabled.
Original advisory text
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. Attacke...
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.
References
- https://github.com/bgub/squirrelly/blob/e67c27ca3f4bc76421c63459ffed23c932103be4...
- https://github.com/bgub/squirrelly/blob/e67c27ca3f4bc76421c63459ffed23c932103be4...
- https://github.com/bgub/squirrelly/commit/6b9f1f5804a45e0d07e3b083fdb42d65f32ec1...
- 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...
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Type
CWE-915Improperly Controlled Modification of Dynamically-Determined Object Attributes
Timeline
Published3 Dec 2026
Updated3 Dec 2026
First seen3 Dec 2026
Sources
CVE-2026-142701 · NVD
Track software like this
Free during beta