Allocation of Resources Without Limits or Throttling Affecting scriban package, versions [,6.6.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-SCRIBAN-15787065
  • published26 Mar 2026
  • disclosed19 Mar 2026
  • creditDishan Sachin

Introduced: 19 Mar 2026

New CVE NOT AVAILABLE CWE-770  (opens in a new tab)

How to fix?

Upgrade Scriban to version 6.6.0 or higher.

Overview

Scriban is a

Scriban is a fast, powerful, safe and lightweight scripting language and engine for .NET, which was primarily developed for text templating with a compatibility mode for parsing liquid templates.

Today, not only Scriban can be used in text templating scenarios, but also can be integrated as a general scripting engine: For example, Scriban is at the core of the scripting engine for kalk, a command line calculator application for developers.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to the lack of enforced output size limits in the LimitToString parameter. An attacker can cause excessive memory allocation and crash the host process by submitting a template that triggers exponential string growth through repeated string concatenation.

References

CVSS Base Scores

version 4.0
version 3.1