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

Read the record on cve.org

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.

ProductVersions
scriban scribanbefore 7.6.0 Affected7.6.0 Not Affected
scriban scribanbefore 7.6.0 Affected7.6.0 Not Affected

Weaknesses

  • CWE-226 Sensitive Information in Resource Not Removed Before Reuse

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.