Squirrelly before 10.0.0 XSS via autoEscape Override in renderFile
Summary
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 sc...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| bgubsquirrelly |
< 10.0.0→ 10.0.0 |
10.0.0 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD