Skip to main content

Scriban

23 CVEs product

Monthly

CVE-2026-137508 Nov 26, 16:00 HIGH PATCH This Week

Memory exhaustion denial of service in the Scriban .NET templating engine through 7.5.3 (both the Scriban and Scriban.Signed NuGet packages) lets a template author bypass the LimitToString string-length cap by calling object.to_json, which serializes into an unbounded MemoryStream. Repeated serialization re-escapes backslashes and control characters, so a roughly 85-byte template with a 1 MB newline string ballooned to 257,000,592 output characters and about 3.4 GB of heap in the vendor's own proof of concept, which is documented publicly in the GHSA advisory; repeatable renders exhaust process memory. The CVSS 4.0 score of 8.7 (High) is driven entirely by availability impact (VA:H with no confidentiality or integrity effect) and, per the assessed vector, the flaw is only reachable where an application renders untrusted, attacker-authored templates that are permitted to call object.to_json; static or pre-vetted templates remove the exposure. Exploitation is not confirmed in the wild - no CISA KEV listing - and the issue is fixed in 7.6.0.

Denial Of Service Scriban
NVD GitHub
CVSS 4.0
8.7
EPSS
0.8%
CVE-2026-137509 Nov 26, 16:00 HIGH PATCH This Week

Memory exhaustion in Scriban before 7.6.0 lets anyone who can supply template source render a roughly 2 KB template that allocates multi-gigabyte strings, because ScriptObject string conversion bypasses the LimitToString budget. The flaw is unauthenticated and network-reachable where a host application renders untrusted templates (CVSS 4.0 score 8.7; independently assessed as CVSS 3.1 AV:N/AC:L/PR:N/UI:N with availability-only impact), and the vendor advisory includes a public proof-of-concept template; that PoC has not been verified as general working exploit code and there is no CISA KEV entry indicating active exploitation. Impact is availability-only - no disclosure or modification of data - and hosts that render exclusively trusted first-party templates are effectively not exposed.

Denial Of Service .NET Scriban
NVD GitHub
CVSS 4.0
8.7
EPSS
0.7%
CVE-2026-137510 Nov 26, 16:00 HIGH PATCH This Week

Memory exhaustion in Scriban and Scriban.Signed before 7.6.0 lets anyone who can supply a template drive allocations far past the TemplateContext.LimitToString cap (default 1,048,576) and force multi-gigabyte allocations that can OOM-kill the host. The nominal rating is unauthenticated remote (CVSS 4.0 8.7, PR:N, AC:L, VA:H), but actual exposure depends on whether the host application parses and renders attacker-influenced templates under the default context - in deployments where only trusted operators author templates, the flaw is not remotely reachable. The upstream GitHub advisories ship a working proof-of-concept template (a 1 MB backslash string returned as 2,000,002 chars; ~7.2 GB peak working set after repeated string.literal passes), there is no CISA KEV entry and no confirmed active exploitation, and the maintainers fixed it in 7.6.0; vuln.today priority is 'this_week'.

Denial Of Service Scriban
NVD GitHub
CVSS 4.0
8.7
EPSS
1.0%
CVE-2026-137511 Nov 26, 16:00 HIGH PATCH This Week

Scriban's template engine through 7.5.3 leaks render state between runs because TemplateContext.Reset() never clears the Tags dictionary, so array.cycle position counters and the stored math.random System.Random instance survive into subsequent renders on a pooled context. The result is cross-render predictability and a monotonic, never-reclaimed accumulation of attacker-keyed cycle-group entries that can eventually exhaust the hosting process; the assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N, C:L/I:L/A:H) reflects network reachability and low complexity but a privileged requirement, since the attacker must be able to submit template content to a reused context. Only applications that pool a TemplateContext and call Reset() between renders are exposed - a fresh-context-per-render deployment is not affected - and a public proof-of-concept reproduction is included in the upstream advisory but is not verified as working exploit code; there is no KEV listing or indication of active exploitation. Fixed in 7.6.0 of both the Scriban and Scriban.Signed packages.

Information Disclosure Scriban
NVD GitHub
CVSS 4.0
7.2
EPSS
0.5%
CVE-2026-137512 Nov 26, 16:00 HIGH PATCH This Week

Unauthenticated, network-reachable denial of service in Scriban through 7.5.3 (including the Scriban.Signed distribution): the object.from_json builtin deserializes attacker-supplied JSON without participating in the LoopLimit iteration budget, so a single expression can force hundreds of thousands of iterations and allocations even when LoopLimit is configured to 1. Any host that renders attacker-influenced template content or passes attacker-controlled JSON to from_json - the documented template-as-a-service, CMS and email-rendering threat model - can be driven to CPU and managed-heap exhaustion under repeated requests; the payload fits inside the default 1 MB LimitToString budget (roughly 500,000 two-byte elements). Availability-only impact (no confidentiality or integrity effect); the vendor advisory includes a working proof-of-concept template demonstrating LoopLimit=1 being bypassed to materialize 500,000 elements, so publicly available exploit code exists. Active exploitation in the wild is not confirmed (no CISA KEV listing), and a fix is released in 7.6.0.

Denial Of Service Scriban
NVD GitHub
CVSS 4.0
8.7
EPSS
0.5%
CVE-2026-124439 Nov 08, 13:15 HIGH PATCH This Week

Uncontrolled recursion in the Scriban templating engine (NuGet packages Scriban and Scriban.Signed through 7.5.2) lets unauthenticated remote attackers terminate the entire host process by supplying a single small template. Three template-only paths - deep postfix member/indexer/call chains that bypass ParserOptions.ExpressionDepthLimit, self-referential or ~450-level-deep array comparisons with no depth or cycle guard, and self-evaluating strings passed to object.eval / object.eval_template that bypass RecursiveLimit - all raise a StackOverflowException that cannot be caught in .NET, so exception handlers, CancellationToken and every TemplateContext limit are useless and recovery requires a process restart. Default ParserOptions and a stock new TemplateContext() are vulnerable; the risk is confined to hosts that parse or render attacker-influenced templates (or feed attacker strings to object.eval), and is availability-only with no data exposure. A public proof-of-concept is included in the vendor's GHSA advisory; there is no indication of CISA KEV-listed active exploitation at time of analysis, and upgrading to 7.5.3 is the fix.

.NET Scriban
NVD GitHub
CVSS 4.0
8.7
EPSS
0.5%
CVE-2026-124438 Nov 08, 13:15 CRITICAL PATCH Act Now

Scriban through 7.5.1 exposes the .NET objects behind imported function values, letting a template author read members such as Target, Method and ReturnType off a function via array.map instead of invoking it. Where the host imported an instance-method delegate or a closure-capturing lambda, the template can read and then overwrite the reachable public properties, fields and captured locals - connection strings, API keys, auth flags, service state - and those writes persist in the host after Render returns; hosts that import no stateful delegate are limited to disclosure of assembly paths and exact runtime version, with no code-execution path found. Scoring differs by standard: the CNA assigned CVSS 4.0 9.1, while the assessed CVSS 3.1 vector is 7.4 (AV:N/AC:H/PR:N/UI:N/C:H/I:H) because the read/write variant hinges on a host-side import pattern outside the attacker's control; a working proof-of-concept template is published in the vendor advisory, no confirmed active exploitation appears in the available data, and the vuln.today priority is act_now.

Information Disclosure Scriban
NVD GitHub
CVSS 4.0
9.1
EPSS
0.4%
CVE-2026-124437 Nov 08, 13:15 HIGH PATCH This Week

Memory and CPU exhaustion in the Scriban .NET templating engine (NuGet packages Scriban and Scriban.Signed, versions up to and including 7.5.2) lets an untrusted template author crash or stall a multi-tenant host with templates under 100 characters rendered under a default TemplateContext. The advertised defenses are bypassed: math.format, object.format, regex.replace, string.escape and regex.escape skip the LimitToString allocation guard, producing multi-gigabyte allocations, while exponential shared-structure array comparison, uncapped BigInteger multiplication and exponential user-function recursion escape both LoopLimit and the documented CancellationToken. The flaw is pure denial of service (no confidentiality or integrity impact) and is rated high severity; proof-of-concept templates with measured memory and timing figures are published in the upstream GHSA advisory, and the vendor-released fix is version 7.5.3, with remediation prioritised for this week.

Denial Of Service Scriban
NVD GitHub
CVSS 4.0
8.7
EPSS
0.4%
CVE-2026-74795 Aug 16, 13:14 NuGet HIGH PATCH This Week

Remote denial of service in Scriban before 6.6.0 allows unauthenticated attackers to crash the entire .NET hosting process by submitting deeply nested template expressions to the recursive-descent parser. Because the ExpressionDepthLimit property in ParserOptions defaults to null (disabled), an attacker can supply thousands of nested parentheses or blocks that exhaust thread stack space, triggering a StackOverflowException - which .NET cannot intercept - causing immediate, unrecoverable process termination. A proof-of-concept is publicly documented in the vendor's GitHub Security Advisory GHSA-wgh7-7m3c-fx25; no authentication is required, and the fix is available in version 6.6.0.

Denial Of Service Scriban
NVD GitHub
CVSS 4.0
8.7
EPSS
0.3%
CVE-2026-74794 Aug 16, 13:14 NuGet HIGH PATCH This Week

Scriban's template rendering engine before version 6.6.0 crashes the entire .NET hosting process when object graphs containing circular references are passed to the template context, because the ObjectRecursionLimit property defaults to 0 (unlimited) rather than a bounded safe value. Any endpoint that maps user-controlled input - such as a JSON request body or ORM entity graph - to a Scriban TemplateContext is susceptible to complete process termination with no authentication required (CVSS 4.0 AV:N/AC:L/PR:N). No public exploit or CISA KEV listing has been identified at time of analysis; however, a proof-of-concept is published in GitHub Security Advisory GHSA-grr9-747v-xvcp.

Buffer Overflow Scriban
NVD GitHub
CVSS 4.0
8.7
EPSS
0.3%
CVE-2026-74792 Aug 16, 13:14 NuGet HIGH PATCH This Week

Process-terminating stack overflow in Scriban's template parser affects all versions before 7.0.0, allowing any attacker who can supply content to Template.Parse to crash the hosting .NET application via an uncatchable StackOverflowException. The flaw exploits a recursion path (ParseArrayInitializer → ParseExpression → ParseArrayInitializer) that is structurally separate from the ExpressionDepthLimit guard introduced in the prior fix for GHSA-wgh7-7m3c-fx25, meaning teams who applied that earlier patch retain a false sense of protection and remain fully vulnerable. A proof-of-concept is publicly available in the GitHub Security Advisory; no confirmed active exploitation appears in the CISA KEV catalog at time of analysis.

Buffer Overflow Scriban
NVD GitHub
CVSS 4.0
8.7
EPSS
0.3%
CVE-2026-74791 Aug 16, 13:14 NuGet CRITICAL PATCH Act Now

Information disclosure and authorization bypass in Scriban (the .NET text templating engine) before 7.0.0 lets attackers retrieve previously authorized include-template content from earlier renders. Because TemplateContext.Reset() clears output, globals, cultures, and source files but never clears the CachedTemplates dictionary, applications that pool a TemplateContext across requests and use a request-, tenant-, or user-dependent ITemplateLoader will serve a stale cached template to a later, less-privileged render without re-invoking TemplateLoader.Load(). A vendor patch exists (7.0.0) and a working proof-of-concept is published in the GHSA advisory, but there is no public exploit identified as used in active attacks.

Information Disclosure Scriban
NVD GitHub
CVSS 4.0
9.2
EPSS
0.3%
CVE-2026-74790 Aug 16, 13:14 NuGet CRITICAL PATCH Act Now

Sandbox escape in the Scriban .NET templating engine (all versions before 7.0.0) lets attacker-influenced templates read object members that a tightened MemberFilter was meant to hide, because type accessors are cached by Type alone and survive both filter changes and TemplateContext.Reset(). Applications that reuse a single TemplateContext across requests or tenants and rely on MemberFilter as a security boundary can leak filtered properties and fields to a later, more-restricted render. Reported by VulnCheck with a working proof-of-concept in the vendor advisory; not listed in CISA KEV, and no EPSS score was provided in the source data.

Authentication Bypass Scriban
NVD GitHub
CVSS 4.0
9.3
EPSS
0.3%
CVE-2026-74789 Aug 16, 13:14 NuGet HIGH PATCH This Week

Uncontrolled resource consumption in Scriban's .NET templating engine allows any party who can submit template input to bypass the LoopLimit safety control and exhaust CPU or memory on the host process. Versions 0 through 6.6.0 of the nuget/scriban and nuget/Scriban.Signed packages are affected; the root cause is that LoopLimit enforcement is coupled exclusively to script-level loop statements and is never invoked by built-in operators such as the range constructor or string multiplication. A working proof-of-concept is publicly available in the GitHub Security Advisory GHSA-c875-h985-hvrc, making exploitation trivially reproducible for any application that renders attacker-controlled templates; no public exploit identified at time of analysis for CISA KEV status.

Denial Of Service Scriban
NVD GitHub
CVSS 4.0
8.7
EPSS
0.3%
CVE-2026-74788 Aug 16, 13:14 NuGet HIGH PATCH This Week

Uncontrolled memory allocation in Scriban's string.pad_left and string.pad_right template functions enables unauthenticated remote denial of service against any application that exposes Scriban to attacker-controlled template input. All NuGet releases of scriban and scriban.Signed prior to 7.0.0 are affected, with a publicly documented 39-byte proof-of-concept payload capable of forcing ~1GB synchronous allocations per request, crashing the host process via OutOfMemoryException. No active exploitation has been confirmed in CISA KEV at time of analysis, but the trivial PoC and zero-complexity attack lower the effective risk bar significantly for exposed deployments.

Denial Of Service Scriban
NVD GitHub
CVSS 4.0
8.7
EPSS
0.3%
CVE-2026-74787 Aug 16, 13:14 NuGet HIGH PATCH This Week

Uncontrolled recursion in Scriban's `object.to_json` builtin allows any attacker who can submit template content to fatally terminate the hosting .NET process. The internal `WriteValue()` serialization function (ObjectFunctions.cs:494) recurses through object members and arrays without depth limits or circular reference detection - bypassing the `ObjectRecursionLimit`, `EnterRecursive()`, and `EnsureSufficientExecutionStack()` guards used everywhere else in Scriban. Because `StackOverflowException` is unrecoverable in .NET, a single crafted template request causes immediate, irreversible process death. No public exploit or CISA KEV listing identified at time of analysis; vendor-confirmed fix is available in version 7.0.0.

Buffer Overflow Scriban
NVD GitHub
CVSS 4.0
8.7
EPSS
0.3%
CVE-2026-74786 Aug 16, 13:14 NuGet HIGH PATCH This Week

Denial of service in Scriban's .NET template engine (all versions before 7.0.0) allows low-privileged attackers who can supply templates to exhaust host application memory and crash the process. By rendering a string just under the 1MB LimitToString default inside a template loop, each iteration resets the per-call length counter in ObjectToString while the underlying StringBuilderOutput appends to a StringBuilder with no cumulative size guard - enabling ~1GB of allocation across 1,000 loop iterations. No public exploit tool has been separately released, but the GitHub security advisory (GHSA-m2p3-hwv5-xpqw) contains full source-level reproduction detail sufficient to implement the attack without further research.

Denial Of Service Scriban
NVD GitHub
CVSS 4.0
7.1
EPSS
0.3%
CVE-2026-74785 Aug 16, 13:14 NuGet HIGH PATCH This Week

Three distinct denial-of-service vulnerabilities in Scriban's expression evaluator (all versions before 7.0.0) allow any low-privileged attacker who can supply templates to exhaust host process memory or CPU, typically crashing the entire .NET application. The flaws are particularly deceptive because they bypass Scriban's own built-in safety controls - LimitToString and LoopLimit - through unbounded string multiplication, uncapped BigInteger left-shift operations, and lazy range enumeration passed to builtin functions, giving developers a false sense of protection. No public exploit has been identified at time of analysis, but the GHSA advisory provides full source-code-level disclosure of all three code paths with file and line references.

Denial Of Service Scriban
NVD GitHub
CVSS 4.0
7.1
EPSS
0.3%
CVE-2026-74784 Aug 16, 13:14 NuGet HIGH PATCH This Week

Unbounded memory allocation in Scriban's `array.insert_at` built-in function allows any template author to crash the host process with a single template call. Affected are all releases of the nuget/scriban and nuget/Scriban.Signed packages up to and including version 7.1.0. By supplying a sufficiently large index parameter, an attacker triggers a tight C# fill loop that allocates hundreds of millions of null entries, causing an `OutOfMemoryException` that terminates the host process in under a second - bypassing all existing safety controls including `LoopLimit` and `LimitToString`. A public proof-of-concept template is documented in the vendor's GHSA advisory; no CISA KEV listing has been issued at the time of analysis.

Denial Of Service Scriban
NVD GitHub
CVSS 4.0
8.7
EPSS
0.3%
CVE-2026-74783 Aug 16, 13:14 NuGet HIGH PATCH This Week

Process-terminating denial-of-service in Scriban 6.6.0-7.2.0 allows any network-reachable attacker to crash a host .NET application by submitting a crafted template containing deeply nested parentheses, array initializers, object initializers, or unary operators. The `ExpressionDepthLimit` parser guard is structurally non-enforcing: it logs a non-fatal error and sets a flag but never halts recursive descent, allowing the call stack to exhaust until an uncatchable `StackOverflowException` terminates the process - roughly achievable with an 8 KB payload. This is a regression that re-opens two previously reported 'fixed' advisories (GHSA-wgh7-7m3c-fx25, fixed in 6.6.0; GHSA-p6q4-fgr8-vx4p, fixed in 7.0.0), confirming both prior fixes are incomplete; no public exploit or KEV listing exists at time of analysis.

Buffer Overflow Scriban
NVD GitHub VulDB
CVSS 4.0
8.7
EPSS
0.3%
CVE-2026-73062 Aug 16, 13:14 NuGet HIGH PATCH This Week

Resource exhaustion in Scriban 3.0.0 through 7.2.0 allows unauthenticated remote attackers to force multi-gigabyte memory allocations using a ~40-byte template containing the array multiplication operator. The flaw is an overlooked sibling of operations hardened in prior releases: `string * integer` and `array.insert_at` received LoopLimit guards in versions 7.0.0 and 7.2.0, but `array * integer` in `ScriptArray<T>.TryEvaluate` was never subjected to those checks. The vendor-released fix is available in Scriban 7.2.1 and Scriban.Signed 7.2.1; no public exploit identified at time of analysis.

Denial Of Service Scriban
NVD VulDB GitHub
CVSS 4.0
8.7
EPSS
0.3%
CVE-2026-73061 Aug 16, 13:14 NuGet CRITICAL PATCH Act Now

Arbitrary CLR property writes in Scriban (the .NET templating engine) before 7.2.2 allow template code to mutate live host objects passed into a TemplateContext, bypassing C# setter-visibility rules entirely. Any object pushed via the documented ScriptObject pattern becomes fully writable, so template authors can set private, internal, and init-only setters as well as mass-assign public ones (e.g. {{ user.is_admin = true }}), and the changes persist on the host object after Render() returns. Publicly available proof-of-concept steps exist in the GHSA advisory; no active exploitation is reported (not in CISA KEV) and no EPSS score was supplied.

Authentication Bypass Scriban
NVD GitHub
CVSS 4.0
9.3
EPSS
0.3%
CVE-2026-73060 Aug 16, 13:14 HIGH PATCH This Week

Scriban template engine versions 3.0.0 through 7.2.5 expose any application accepting untrusted templates to complete CPU exhaustion and garbage collection collapse via crafted array-multiplication expressions. The ScriptArray.Multiply operator fails to credit iterations against the caller-configured LoopLimit, rendering the safety mechanism entirely ineffective on this code path - even LoopLimit=1 provides no protection against the bypass. Vendor patches are available as two upstream commits referenced in GitHub security advisory GHSA-89cf-6hmv-8rxm, with no active exploitation confirmed at time of analysis.

Denial Of Service Scriban
NVD VulDB GitHub
CVSS 4.0
8.7
EPSS
0.4%
EPSS 1% CVSS 8.7
HIGH PATCH This Week

Memory exhaustion denial of service in the Scriban .NET templating engine through 7.5.3 (both the Scriban and Scriban.Signed NuGet packages) lets a template author bypass the LimitToString string-length cap by calling object.to_json, which serializes into an unbounded MemoryStream. Repeated serialization re-escapes backslashes and control characters, so a roughly 85-byte template with a 1 MB newline string ballooned to 257,000,592 output characters and about 3.4 GB of heap in the vendor's own proof of concept, which is documented publicly in the GHSA advisory; repeatable renders exhaust process memory. The CVSS 4.0 score of 8.7 (High) is driven entirely by availability impact (VA:H with no confidentiality or integrity effect) and, per the assessed vector, the flaw is only reachable where an application renders untrusted, attacker-authored templates that are permitted to call object.to_json; static or pre-vetted templates remove the exposure. Exploitation is not confirmed in the wild - no CISA KEV listing - and the issue is fixed in 7.6.0.

Denial Of Service Scriban
NVD GitHub
EPSS 1% CVSS 8.7
HIGH PATCH This Week

Memory exhaustion in Scriban before 7.6.0 lets anyone who can supply template source render a roughly 2 KB template that allocates multi-gigabyte strings, because ScriptObject string conversion bypasses the LimitToString budget. The flaw is unauthenticated and network-reachable where a host application renders untrusted templates (CVSS 4.0 score 8.7; independently assessed as CVSS 3.1 AV:N/AC:L/PR:N/UI:N with availability-only impact), and the vendor advisory includes a public proof-of-concept template; that PoC has not been verified as general working exploit code and there is no CISA KEV entry indicating active exploitation. Impact is availability-only - no disclosure or modification of data - and hosts that render exclusively trusted first-party templates are effectively not exposed.

Denial Of Service .NET Scriban
NVD GitHub
EPSS 1% CVSS 8.7
HIGH PATCH This Week

Memory exhaustion in Scriban and Scriban.Signed before 7.6.0 lets anyone who can supply a template drive allocations far past the TemplateContext.LimitToString cap (default 1,048,576) and force multi-gigabyte allocations that can OOM-kill the host. The nominal rating is unauthenticated remote (CVSS 4.0 8.7, PR:N, AC:L, VA:H), but actual exposure depends on whether the host application parses and renders attacker-influenced templates under the default context - in deployments where only trusted operators author templates, the flaw is not remotely reachable. The upstream GitHub advisories ship a working proof-of-concept template (a 1 MB backslash string returned as 2,000,002 chars; ~7.2 GB peak working set after repeated string.literal passes), there is no CISA KEV entry and no confirmed active exploitation, and the maintainers fixed it in 7.6.0; vuln.today priority is 'this_week'.

Denial Of Service Scriban
NVD GitHub
EPSS 1% CVSS 7.2
HIGH PATCH This Week

Scriban's template engine through 7.5.3 leaks render state between runs because TemplateContext.Reset() never clears the Tags dictionary, so array.cycle position counters and the stored math.random System.Random instance survive into subsequent renders on a pooled context. The result is cross-render predictability and a monotonic, never-reclaimed accumulation of attacker-keyed cycle-group entries that can eventually exhaust the hosting process; the assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N, C:L/I:L/A:H) reflects network reachability and low complexity but a privileged requirement, since the attacker must be able to submit template content to a reused context. Only applications that pool a TemplateContext and call Reset() between renders are exposed - a fresh-context-per-render deployment is not affected - and a public proof-of-concept reproduction is included in the upstream advisory but is not verified as working exploit code; there is no KEV listing or indication of active exploitation. Fixed in 7.6.0 of both the Scriban and Scriban.Signed packages.

Information Disclosure Scriban
NVD GitHub
EPSS 1% CVSS 8.7
HIGH PATCH This Week

Unauthenticated, network-reachable denial of service in Scriban through 7.5.3 (including the Scriban.Signed distribution): the object.from_json builtin deserializes attacker-supplied JSON without participating in the LoopLimit iteration budget, so a single expression can force hundreds of thousands of iterations and allocations even when LoopLimit is configured to 1. Any host that renders attacker-influenced template content or passes attacker-controlled JSON to from_json - the documented template-as-a-service, CMS and email-rendering threat model - can be driven to CPU and managed-heap exhaustion under repeated requests; the payload fits inside the default 1 MB LimitToString budget (roughly 500,000 two-byte elements). Availability-only impact (no confidentiality or integrity effect); the vendor advisory includes a working proof-of-concept template demonstrating LoopLimit=1 being bypassed to materialize 500,000 elements, so publicly available exploit code exists. Active exploitation in the wild is not confirmed (no CISA KEV listing), and a fix is released in 7.6.0.

Denial Of Service Scriban
NVD GitHub
EPSS 0% CVSS 8.7
HIGH PATCH This Week

Uncontrolled recursion in the Scriban templating engine (NuGet packages Scriban and Scriban.Signed through 7.5.2) lets unauthenticated remote attackers terminate the entire host process by supplying a single small template. Three template-only paths - deep postfix member/indexer/call chains that bypass ParserOptions.ExpressionDepthLimit, self-referential or ~450-level-deep array comparisons with no depth or cycle guard, and self-evaluating strings passed to object.eval / object.eval_template that bypass RecursiveLimit - all raise a StackOverflowException that cannot be caught in .NET, so exception handlers, CancellationToken and every TemplateContext limit are useless and recovery requires a process restart. Default ParserOptions and a stock new TemplateContext() are vulnerable; the risk is confined to hosts that parse or render attacker-influenced templates (or feed attacker strings to object.eval), and is availability-only with no data exposure. A public proof-of-concept is included in the vendor's GHSA advisory; there is no indication of CISA KEV-listed active exploitation at time of analysis, and upgrading to 7.5.3 is the fix.

.NET Scriban
NVD GitHub
EPSS 0% CVSS 9.1
CRITICAL PATCH Act Now

Scriban through 7.5.1 exposes the .NET objects behind imported function values, letting a template author read members such as Target, Method and ReturnType off a function via array.map instead of invoking it. Where the host imported an instance-method delegate or a closure-capturing lambda, the template can read and then overwrite the reachable public properties, fields and captured locals - connection strings, API keys, auth flags, service state - and those writes persist in the host after Render returns; hosts that import no stateful delegate are limited to disclosure of assembly paths and exact runtime version, with no code-execution path found. Scoring differs by standard: the CNA assigned CVSS 4.0 9.1, while the assessed CVSS 3.1 vector is 7.4 (AV:N/AC:H/PR:N/UI:N/C:H/I:H) because the read/write variant hinges on a host-side import pattern outside the attacker's control; a working proof-of-concept template is published in the vendor advisory, no confirmed active exploitation appears in the available data, and the vuln.today priority is act_now.

Information Disclosure Scriban
NVD GitHub
EPSS 0% CVSS 8.7
HIGH PATCH This Week

Memory and CPU exhaustion in the Scriban .NET templating engine (NuGet packages Scriban and Scriban.Signed, versions up to and including 7.5.2) lets an untrusted template author crash or stall a multi-tenant host with templates under 100 characters rendered under a default TemplateContext. The advertised defenses are bypassed: math.format, object.format, regex.replace, string.escape and regex.escape skip the LimitToString allocation guard, producing multi-gigabyte allocations, while exponential shared-structure array comparison, uncapped BigInteger multiplication and exponential user-function recursion escape both LoopLimit and the documented CancellationToken. The flaw is pure denial of service (no confidentiality or integrity impact) and is rated high severity; proof-of-concept templates with measured memory and timing figures are published in the upstream GHSA advisory, and the vendor-released fix is version 7.5.3, with remediation prioritised for this week.

Denial Of Service Scriban
NVD GitHub
EPSS 0% CVSS 8.7
HIGH PATCH This Week

Remote denial of service in Scriban before 6.6.0 allows unauthenticated attackers to crash the entire .NET hosting process by submitting deeply nested template expressions to the recursive-descent parser. Because the ExpressionDepthLimit property in ParserOptions defaults to null (disabled), an attacker can supply thousands of nested parentheses or blocks that exhaust thread stack space, triggering a StackOverflowException - which .NET cannot intercept - causing immediate, unrecoverable process termination. A proof-of-concept is publicly documented in the vendor's GitHub Security Advisory GHSA-wgh7-7m3c-fx25; no authentication is required, and the fix is available in version 6.6.0.

Denial Of Service Scriban
NVD GitHub
EPSS 0% CVSS 8.7
HIGH PATCH This Week

Scriban's template rendering engine before version 6.6.0 crashes the entire .NET hosting process when object graphs containing circular references are passed to the template context, because the ObjectRecursionLimit property defaults to 0 (unlimited) rather than a bounded safe value. Any endpoint that maps user-controlled input - such as a JSON request body or ORM entity graph - to a Scriban TemplateContext is susceptible to complete process termination with no authentication required (CVSS 4.0 AV:N/AC:L/PR:N). No public exploit or CISA KEV listing has been identified at time of analysis; however, a proof-of-concept is published in GitHub Security Advisory GHSA-grr9-747v-xvcp.

Buffer Overflow Scriban
NVD GitHub
EPSS 0% CVSS 8.7
HIGH PATCH This Week

Process-terminating stack overflow in Scriban's template parser affects all versions before 7.0.0, allowing any attacker who can supply content to Template.Parse to crash the hosting .NET application via an uncatchable StackOverflowException. The flaw exploits a recursion path (ParseArrayInitializer → ParseExpression → ParseArrayInitializer) that is structurally separate from the ExpressionDepthLimit guard introduced in the prior fix for GHSA-wgh7-7m3c-fx25, meaning teams who applied that earlier patch retain a false sense of protection and remain fully vulnerable. A proof-of-concept is publicly available in the GitHub Security Advisory; no confirmed active exploitation appears in the CISA KEV catalog at time of analysis.

Buffer Overflow Scriban
NVD GitHub
EPSS 0% CVSS 9.2
CRITICAL PATCH Act Now

Information disclosure and authorization bypass in Scriban (the .NET text templating engine) before 7.0.0 lets attackers retrieve previously authorized include-template content from earlier renders. Because TemplateContext.Reset() clears output, globals, cultures, and source files but never clears the CachedTemplates dictionary, applications that pool a TemplateContext across requests and use a request-, tenant-, or user-dependent ITemplateLoader will serve a stale cached template to a later, less-privileged render without re-invoking TemplateLoader.Load(). A vendor patch exists (7.0.0) and a working proof-of-concept is published in the GHSA advisory, but there is no public exploit identified as used in active attacks.

Information Disclosure Scriban
NVD GitHub
EPSS 0% CVSS 9.3
CRITICAL PATCH Act Now

Sandbox escape in the Scriban .NET templating engine (all versions before 7.0.0) lets attacker-influenced templates read object members that a tightened MemberFilter was meant to hide, because type accessors are cached by Type alone and survive both filter changes and TemplateContext.Reset(). Applications that reuse a single TemplateContext across requests or tenants and rely on MemberFilter as a security boundary can leak filtered properties and fields to a later, more-restricted render. Reported by VulnCheck with a working proof-of-concept in the vendor advisory; not listed in CISA KEV, and no EPSS score was provided in the source data.

Authentication Bypass Scriban
NVD GitHub
EPSS 0% CVSS 8.7
HIGH PATCH This Week

Uncontrolled resource consumption in Scriban's .NET templating engine allows any party who can submit template input to bypass the LoopLimit safety control and exhaust CPU or memory on the host process. Versions 0 through 6.6.0 of the nuget/scriban and nuget/Scriban.Signed packages are affected; the root cause is that LoopLimit enforcement is coupled exclusively to script-level loop statements and is never invoked by built-in operators such as the range constructor or string multiplication. A working proof-of-concept is publicly available in the GitHub Security Advisory GHSA-c875-h985-hvrc, making exploitation trivially reproducible for any application that renders attacker-controlled templates; no public exploit identified at time of analysis for CISA KEV status.

Denial Of Service Scriban
NVD GitHub
EPSS 0% CVSS 8.7
HIGH PATCH This Week

Uncontrolled memory allocation in Scriban's string.pad_left and string.pad_right template functions enables unauthenticated remote denial of service against any application that exposes Scriban to attacker-controlled template input. All NuGet releases of scriban and scriban.Signed prior to 7.0.0 are affected, with a publicly documented 39-byte proof-of-concept payload capable of forcing ~1GB synchronous allocations per request, crashing the host process via OutOfMemoryException. No active exploitation has been confirmed in CISA KEV at time of analysis, but the trivial PoC and zero-complexity attack lower the effective risk bar significantly for exposed deployments.

Denial Of Service Scriban
NVD GitHub
EPSS 0% CVSS 8.7
HIGH PATCH This Week

Uncontrolled recursion in Scriban's `object.to_json` builtin allows any attacker who can submit template content to fatally terminate the hosting .NET process. The internal `WriteValue()` serialization function (ObjectFunctions.cs:494) recurses through object members and arrays without depth limits or circular reference detection - bypassing the `ObjectRecursionLimit`, `EnterRecursive()`, and `EnsureSufficientExecutionStack()` guards used everywhere else in Scriban. Because `StackOverflowException` is unrecoverable in .NET, a single crafted template request causes immediate, irreversible process death. No public exploit or CISA KEV listing identified at time of analysis; vendor-confirmed fix is available in version 7.0.0.

Buffer Overflow Scriban
NVD GitHub
EPSS 0% CVSS 7.1
HIGH PATCH This Week

Denial of service in Scriban's .NET template engine (all versions before 7.0.0) allows low-privileged attackers who can supply templates to exhaust host application memory and crash the process. By rendering a string just under the 1MB LimitToString default inside a template loop, each iteration resets the per-call length counter in ObjectToString while the underlying StringBuilderOutput appends to a StringBuilder with no cumulative size guard - enabling ~1GB of allocation across 1,000 loop iterations. No public exploit tool has been separately released, but the GitHub security advisory (GHSA-m2p3-hwv5-xpqw) contains full source-level reproduction detail sufficient to implement the attack without further research.

Denial Of Service Scriban
NVD GitHub
EPSS 0% CVSS 7.1
HIGH PATCH This Week

Three distinct denial-of-service vulnerabilities in Scriban's expression evaluator (all versions before 7.0.0) allow any low-privileged attacker who can supply templates to exhaust host process memory or CPU, typically crashing the entire .NET application. The flaws are particularly deceptive because they bypass Scriban's own built-in safety controls - LimitToString and LoopLimit - through unbounded string multiplication, uncapped BigInteger left-shift operations, and lazy range enumeration passed to builtin functions, giving developers a false sense of protection. No public exploit has been identified at time of analysis, but the GHSA advisory provides full source-code-level disclosure of all three code paths with file and line references.

Denial Of Service Scriban
NVD GitHub
EPSS 0% CVSS 8.7
HIGH PATCH This Week

Unbounded memory allocation in Scriban's `array.insert_at` built-in function allows any template author to crash the host process with a single template call. Affected are all releases of the nuget/scriban and nuget/Scriban.Signed packages up to and including version 7.1.0. By supplying a sufficiently large index parameter, an attacker triggers a tight C# fill loop that allocates hundreds of millions of null entries, causing an `OutOfMemoryException` that terminates the host process in under a second - bypassing all existing safety controls including `LoopLimit` and `LimitToString`. A public proof-of-concept template is documented in the vendor's GHSA advisory; no CISA KEV listing has been issued at the time of analysis.

Denial Of Service Scriban
NVD GitHub
EPSS 0% CVSS 8.7
HIGH PATCH This Week

Process-terminating denial-of-service in Scriban 6.6.0-7.2.0 allows any network-reachable attacker to crash a host .NET application by submitting a crafted template containing deeply nested parentheses, array initializers, object initializers, or unary operators. The `ExpressionDepthLimit` parser guard is structurally non-enforcing: it logs a non-fatal error and sets a flag but never halts recursive descent, allowing the call stack to exhaust until an uncatchable `StackOverflowException` terminates the process - roughly achievable with an 8 KB payload. This is a regression that re-opens two previously reported 'fixed' advisories (GHSA-wgh7-7m3c-fx25, fixed in 6.6.0; GHSA-p6q4-fgr8-vx4p, fixed in 7.0.0), confirming both prior fixes are incomplete; no public exploit or KEV listing exists at time of analysis.

Buffer Overflow Scriban
NVD GitHub VulDB
EPSS 0% CVSS 8.7
HIGH PATCH This Week

Resource exhaustion in Scriban 3.0.0 through 7.2.0 allows unauthenticated remote attackers to force multi-gigabyte memory allocations using a ~40-byte template containing the array multiplication operator. The flaw is an overlooked sibling of operations hardened in prior releases: `string * integer` and `array.insert_at` received LoopLimit guards in versions 7.0.0 and 7.2.0, but `array * integer` in `ScriptArray<T>.TryEvaluate` was never subjected to those checks. The vendor-released fix is available in Scriban 7.2.1 and Scriban.Signed 7.2.1; no public exploit identified at time of analysis.

Denial Of Service Scriban
NVD VulDB GitHub
EPSS 0% CVSS 9.3
CRITICAL PATCH Act Now

Arbitrary CLR property writes in Scriban (the .NET templating engine) before 7.2.2 allow template code to mutate live host objects passed into a TemplateContext, bypassing C# setter-visibility rules entirely. Any object pushed via the documented ScriptObject pattern becomes fully writable, so template authors can set private, internal, and init-only setters as well as mass-assign public ones (e.g. {{ user.is_admin = true }}), and the changes persist on the host object after Render() returns. Publicly available proof-of-concept steps exist in the GHSA advisory; no active exploitation is reported (not in CISA KEV) and no EPSS score was supplied.

Authentication Bypass Scriban
NVD GitHub
EPSS 0% CVSS 8.7
HIGH PATCH This Week

Scriban template engine versions 3.0.0 through 7.2.5 expose any application accepting untrusted templates to complete CPU exhaustion and garbage collection collapse via crafted array-multiplication expressions. The ScriptArray.Multiply operator fails to credit iterations against the caller-configured LoopLimit, rendering the safety mechanism entirely ineffective on this code path - even LoopLimit=1 provides no protection against the bypass. Vendor patches are available as two upstream commits referenced in GitHub security advisory GHSA-89cf-6hmv-8rxm, with no active exploitation confirmed at time of analysis.

Denial Of Service Scriban
NVD VulDB GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy