Description (CNA)
Scriban before 7.0.0 fails to clear the CachedTemplates dictionary when TemplateContext.Reset() is called, allowing cached templates to persist across reused contexts. Attackers can exploit request-dependent ITemplateLoader implementations to access previously authorized template content from earlier renders without triggering TemplateLoader.Load() again.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| scriban / scriban | affected 0 before 7.0.0; unaffected 7.0.0 |
CWE
CWE-226
References
- https://github.com/scriban/scriban/security/advisories/GHSA-x6m9-38vm-2xhf
- https://www.vulncheck.com/advisories/scriban-before-authorization-bypass-via-stale-include-cache
ADP enrichment
No English description supplied.