CVE-2026-137510
JSON

8.7high

Scriban before 7.6.0 Memory Exhaustion via Unguarded String and HTML Builtins

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.99% (higher than 63% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
scriban scribanbefore 7.6.0
Not affected: 7.6.0
CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-400

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-137510 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-137510 changed 2026-12-01Public domain