HTML Injection Vulnerability in Litestar ASGI Framework
CVE-2026-48060

8.1HIGH

Key Information:

Status
Vendor
CVE Published:
28 July 2026

What is CVE-2026-48060?

The Litestar ASGI framework, before version 2.20.0, is susceptible to an HTML injection issue when utilizing a template engine with CSRF protection. This vulnerability arises from the CSRF cookie content not being automatically escaped by the template engine when following recommended inline configuration in the documentation. An attacker could exploit this loophole to escalate the HTML injection to Cross Site Scripting (XSS), potentially compromising the security of the application. A fix is available in version 2.20.0.

Affected Version(s)

litestar < 2.20.0

References

CVSS V3.1

Score:
8.1
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.