Skip to content
High 7.6

Scribanに状態が残る脆弱性、テンプレートの乱数やメモリに影響のおそれ

CVE-2026-137511 First seen on SecPulse

Summary

Scribanの7.6.0より前のバージョンでは、TemplateContext.Reset()を呼んでも状態が消えず、描画をまたいでarray.cycleやmath.randomの状態が残ります。再利用するコンテキストにテンプレートを与える攻撃者が、その状態を観測・操作したり、メモリを枯渇させたりするおそれがあります。修正版の7.6.0以降へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Scribanの7.6.0より前のバージョンでは、TemplateContext.Reset()を呼んでも状態が消えず、描画をまたいでarray.cycleやmath.randomの状態が残ります。再利用するコンテキストにテンプレートを与える攻撃者が、その状態を観測・操作したり、メモリを枯渇させたりするおそれがあります。修正版の7.6.0以降へ更新してください。

Affected packages

PackageAffected → Fixed
scribanscriban
< 7.6.0→ 7.6.0
Original description The description as published by the source.

Scriban before 7.6.0 contains a state isolation vulnerability because TemplateContext.Reset() does not clear the Tags dictionary holding array.cycle and math.random state. Attackers supplying templates to a reused context can observe or influence cycle positions and random sequences across renders, and accumulate unbounded cycle entries to exhaust memory.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details