npm
CVE-2026-142701
Squirrelly before 10.0.0 XSS via autoEscape Override in renderFile
- Severity
- Low 2.3
- Published
- 3 Dec 2026
- Last changed
- 3 Dec 2026
- Added to UpHeron
- 3 Dec 2026
- Fixed in
- 10.0.0
- Weakness
- Mass assignment (CWE-915)
- Attack
- Over the network · Only under certain conditions · No login needed · Needs someone to view a page or file
- CVSS vector
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- Sources
- CVE Program
Description
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.
Affected software
| Software | Affected versions |
|---|---|
squirrellynpm · osv:npm:squirrelly |
|
About squirrelly
- Weekly downloads (npm)
- 96,205npm, 3 Dec 2026
This is the only vulnerability in squirrelly in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142701