Read the docs

Cross-site scripting in Squirrelly via autoEscape override in renderFile

Priority LOW 12CWE-915Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00465 41st percentileScored 2026-12-04
Fix Fixed squirrelly (bgub): 10.0.0

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

VendorProductAffected versionsFixed inStatusSource
bgubsquirrellybefore 10.0.010.0.0Patch availableCNA
  • squirrelly Vendorbgub Affected before 10.0.0 Fixed in 10.0.0 Patch available CNA

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

  1. 2026-12-03 Threatist record created from CVE-2026-142701
  2. 2026-12-03 Alias added: GHSA-5wr5-mx62-vpcc
  3. 2026-12-03 CISA SSVC decision points changed

References

Sources