PT-2026-159984
CVE-2026-137508
·
Published
2026-11-26
·
Updated
2026-11-26
Description by
CVSS 4.0
8.7
HighMetricsAV:N/AC:L/AT:N/PR:N/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.6.0
Description
A memory exhaustion issue exists in the
object.to json function. This allows template authors to bypass the LimitToString string length limit by serializing data into an unbounded MemoryStream. An attacker can repeatedly apply object.to json to strings with heavy escaping within a small template, resulting in multi-gigabyte heap allocations and causing a denial of service.Recommendations
Update to version 7.6.0 or later.
As a temporary mitigation, restrict the use of the
object.to json function in templates. Found an issue in the description? Have something to add? Feel free to write us 👾