PT-2026-166380
CVE-2026-142701
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
CVSS 3.1
4.7
MediumMetricsAV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Squirrelly versions prior to 10.0.0
Description
Remote attackers can disable HTML escaping by providing engine options within the render data passed to the
renderFile() function. By submitting keys such as autoEscape: false through user-controlled data, such as the Express req.body variable, attackers can inject malicious scripts. This injection persists for subsequent renders when template caching is enabled.Recommendations
Update Squirrelly to version 10.0.0 or later.
As a temporary mitigation, restrict the ability of users to pass arbitrary keys into the render data used by the
renderFile() function. Found an issue in the description? Have something to add? Feel free to write us 👾