CVE-2026-137510
highScriban and Scriban.Signed before 7.6.0 allow template authors to bypass the LimitToString string length limit because the string.literal, string.base64_encode…
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/scriban/scriban/security/advisories/GHSA-28wr-xhqr-9mf4 disclosure@vulncheck.com
- https://github.com/scriban/scriban/security/advisories/GHSA-wmmr-qjc6-rp53 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/scriban-before-7.6.0-memory-exhaustion-via-unguarded-... disclosure@vulncheck.com

