Scriban before 7.6.0 Memory Exhaustion via Unguarded String and HTML Builtins
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 26, 2026
- Updated
- Nov 26, 2026
- Reserved
- Nov 26, 2026
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.
| Product | Versions |
|---|---|
| scriban scriban | before 7.6.0 Affected7.6.0 Not Affected |
| scriban scriban | before 7.6.0 Affected7.6.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-400 Uncontrolled Resource Consumption
References
- GitHub Security Advisory (GHSA-28wr-xhqr-9mf4)Vendor Advisory
- GitHub Security Advisory (GHSA-wmmr-qjc6-rp53)Vendor Advisory
- VulnCheck Advisory: Scriban before 7.6.0 Memory Exhaustion via Unguarded String and HTML BuiltinsThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.