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

Read the record on cve.org

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.

ProductVersions
scriban scribanbefore 7.6.0 Affected7.6.0 Not Affected
scriban scribanbefore 7.6.0 Affected7.6.0 Not Affected

Weaknesses

  • CWE-400 Uncontrolled Resource Consumption

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.