XSS in Litestar-Org Litestar

CVE-2026-48060

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.003 (20.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2026-48060?
CVE-2026-48060 is a high-severity vulnerability in Litestar-Org Litestar, classified under Cross-site Scripting. CVSS score: 8.1/10. Published 2026-07-28.
How severe is CVE-2026-48060?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2026-48060 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.