Medium severity4.7NVD Advisory· Published Dec 3, 2026
CVE-2026-142701
CVE-2026-142701
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 products
1- Range: <10.0.0
Patches
Vulnerability mechanics
References
6- github.com/bgub/squirrelly/blob/e67c27ca3f4bc76421c63459ffed23c932103be4/src/config.tsnvd
- github.com/bgub/squirrelly/blob/e67c27ca3f4bc76421c63459ffed23c932103be4/src/file-handlers.tsnvd
- github.com/bgub/squirrelly/commit/6b9f1f5804a45e0d07e3b083fdb42d65f32ec1f4nvd
- github.com/bgub/squirrelly/releases/tag/v10.0.0nvd
- github.com/bgub/squirrelly/security/advisories/GHSA-wx7c-246h-xv63nvd
- www.vulncheck.com/advisories/squirrelly-before-10.0.0-xss-via-autoescape-override-in-renderfilenvd
News mentions
0No linked articles in our index yet.