Cross-site scripting in Squirrelly via autoEscape override in renderFile
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Tampering
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-915.
Summary
Squirrelly before 10.0.0 contains a cross-site scripting flaw in which render data passed to renderFile can override engine options. A remote attacker who controls such data, such as Express req.body, can set autoEscape to false and disable HTML escaping, and the injected script persists for later renders when template caching is enabled. The CVSS 4.0 vector shows low impact on confidentiality, integrity and availability and requires user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Update bgub Squirrelly to version 10.0.0 or later, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
- Fix · CNA squirrelly (bgub) Fixed in 10.0.0
Timeline
- 2026-12-03 Threatist record created from CVE-2026-142701
- 2026-12-03 Alias added: GHSA-5wr5-mx62-vpcc
- 2026-12-03 CISA SSVC decision points changed
References
Sources
- CVE-2026-142701 · CVE Program
- CVE-2026-142701 · NVD
- FIRST EPSS
- GHSA-5wr5-mx62-vpcc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences