CVE-2026-137510

Scriban before 7.6.0 Memory Exhaustion via Unguarded String and HTML Builtins

High published · updated

8.7
CVSS score out of 10 · NVD (vulncheck.com)

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 / packageEcosystem / vendorVersionsFixed inSource
scriban scriban 0 → <7.6.07.6.0 CVE.org

References