CVE-2026-137510
Scriban before 7.6.0 Memory Exhaustion via Unguarded String and HTML Builtins
8.7
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| scriban | scriban | 0 → <7.6.0 | 7.6.0 | CVE.org |