High severity8.1NVD Advisory· Published Jul 28, 2026· Updated Jul 30, 2026
CVE-2026-48060
CVE-2026-48060
Description
Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to version 2.20.0, Litestar instances which use a template engine in conjunction with CSRF protection are vulnerable to HTML Injection which can be escalated to Cross Site Scripting due to the contents of the CSRF cookie being excluded from automatic escaping by the template engine when configured inline with documentation recommendations. This issue has been patched in version 2.20.0.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
litestarPyPI | < 2.22.0 | 2.22.0 |
Affected products
1- Range: <2.20.0
Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.