๐Ÿ” CVE Alert

CVE-2026-48060

HIGH 8.1

Litestar: HTML Injection Through CSRF Token

CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-79
Vendor litestar-org
Product litestar
Published Jul 28, 2026
Last Updated Jul 28, 2026
Stay Ahead of the Next One

Get instant alerts for litestar-org litestar

Be the first to know when new high vulnerabilities affecting litestar-org litestar are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Affected Versions

litestar-org / litestar
< 2.20.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/litestar-org/litestar/security/advisories/GHSA-542p-wvx7-72m4 github.com: https://github.com/litestar-org/litestar/releases/tag/v2.20.0