Scriban before 7.6.0 State Leakage via TemplateContext.Reset() Tags
- State
- Published
- Severity
- 7.2 High
- Published
- Nov 26, 2026
- Updated
- Nov 26, 2026
- Reserved
- Nov 26, 2026
Description
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.
| Product | Versions |
|---|---|
| scriban scriban | before 7.6.0 Affected7.6.0 Not Affected |
| scriban scriban | before 7.6.0 Affected7.6.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.2 High | VulnCheck | |
| 3.1 | 7.6 High | VulnCheck |
Weaknesses
- CWE-226 Sensitive Information in Resource Not Removed Before Reuse
References
- GitHub Security Advisory (GHSA-vhvh-mqjm-8vpg)Vendor Advisory
- GitHub Security Advisory (GHSA-8637-5q5q-hxvw)Vendor Advisory
- VulnCheck Advisory: Scriban before 7.6.0 State Leakage via TemplateContext.Reset() TagsThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.