cvelo
P2 · HighCVSS 7.5EPSS 1.0%

Scriban before 7.6.0 Memory Exhaustion via Unguarded String and HTML Builtins

  • CVE-2026-137510
  • GHSA-5cfh-jv7m-w7qx
  • EUVD-2026-136800

Description

Scriban and Scriban.Signed before 7.6.0 allow template authors to bypass the LimitToString string length limit because the string.literal, string.base64_encode, html.escape, html.newline_to_br, html.url_encode, and html.url_escape builtins lack allocation guards. An attacker who can supply a small template can repeatedly call these builtins under the default TemplateContext to force multi-gigabyte allocations and exhaust host memory.

Text from the CVE.org record.

Recommendation

  • scriban

    • If you run a version before 7.6.0update to 7.6.0 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • scriban

    Affected versionsFixed in
    before 7.6.07.6.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.