PT-2026-73154 · Scriban · Scriban
CVSS v4.0
7.1
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Scriban versions prior to 7.0.0
Description
A denial-of-service issue exists where the
LimitToString safety limit, which defaults to 1MB, can be bypassed. This occurs because the ObjectToString() function resets the per-call length counter currentToStringLength during every top-level call, and StringBuilderOutput does not enforce a cumulative output-size limit. An attacker capable of providing a template can repeatedly render a string near the limit within a loop, potentially allocating approximately 1GB of memory and triggering an out-of-memory condition that crashes the host application.Recommendations
Update to version 7.0.0 or later.
Exploit
Fix
DoS
Allocation of Resources Without Limits
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Scriban