Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

CVE-2026-74787

Scriban before 7.0.0 Uncontrolled Recursion via object.to_json

Description

Scriban before 7.0.0 contains an uncontrolled recursion vulnerability in the object.to_json builtin function that lacks depth limits and circular reference detection. Attackers can craft templates with self-referencing objects to trigger unbounded recursion, causing a StackOverflowException that fatally terminates the hosting .NET process.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

scriban scriban

Default version status: unaffected

  • 0 to < 7.0.0affected
  • 7.0.0unaffected
pkg:nuget/Scriban

References