GHSA-5cfh-jv7m-w7qxHighCVSS 7.5
Scriban and Scriban.Signed before 7.6.0 allow template authors to bypass the LimitToString string...
🔗 CVE IDs covered (1)
📋 Description
Scriban and Scriban.Signed before 7.6.0 allow template authors to bypass the LimitToString string length limit because the string.literal, string.base64_encode, html.escape, html.newline_to_br, html.url_encode, and html.url_escape builtins lack allocation guards. An attacker who can supply a small template can repeatedly call these builtins under the default TemplateContext to force multi-gigabyte allocations and exhaust host memory.
🔗 References (5)
- https://github.com/scriban/scriban/security/advisories/GHSA-28wr-xhqr-9mf4
- https://github.com/scriban/scriban/security/advisories/GHSA-wmmr-qjc6-rp53
- https://nvd.nist.gov/vuln/detail/CVE-2026-137510
- https://www.vulncheck.com/advisories/scriban-before-7.6.0-memory-exhaustion-via-unguarded-string-and-html-builtins
- https://github.com/advisories/GHSA-5cfh-jv7m-w7qx