Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Litestar versions before 2.22.0 are vulnerable to HTML injection through the CSRF token when the application uses a template engine with CSRF protection and CSRF inputs configured as the documentation recommends. The CSRF cookie value is rendered unescaped, so an attacker who can set that cookie, for example from a sibling site on the same top-level domain, can inject HTML that may escalate to cross-site scripting. Upgrade to Litestar 2.22.0 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.1 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0035, the 29th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:01 UTC First seen by agentprime
- 31 Oct 2026, 15:01 UTC Confirmed by OSV