Uncontrolled Recursion Affecting scriban package, versions [6.6.0,7.2.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

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 IDSNYK-DOTNET-SCRIBAN-17660975
  • published28 Jun 2026
  • disclosed26 Jun 2026
  • creditMindflareX

Introduced: 26 Jun 2026

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

How to fix?

Upgrade Scriban to version 7.2.1 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 Uncontrolled Recursion in the EnterExpression process. An attacker can cause the host process to terminate unexpectedly by submitting a deeply nested template that triggers uncontrolled recursion and leads to a stack overflow. This can be achieved by providing maliciously crafted input to template parsing or evaluation functions, such as Template.Parse, Template.ParseLiquid, or object.eval, resulting in immediate process termination.

CVSS Base Scores

version 4.0
version 3.1