CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"litestar","vendor":"litestar-org","versions":[{"status":"affected","version":"< 2.20.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:db0f54ef1bb9956067ed1f9ef1f894bf0627166948dfe99980b03788c7b4660d · sha256:46083225d212bc7b… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:db0f54ef1bb9956067ed1f9ef1f894bf0627166948dfe99980b03788c7b4660d · sha256:46083225d212bc7b… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:db0f54ef1bb9956067ed1f9ef1f894bf0627166948dfe99980b03788c7b4660d · sha256:46083225d212bc7b… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/litestar-org/litestar/releases/tag/v2.20.0","tags":["x_refsource_MISC"],"url":"https://github.com/litestar-org/litestar/releases/tag/v2.20.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:db0f54ef1bb9956067ed1f9ef1f894bf0627166948dfe99980b03788c7b4660d · sha256:46083225d212bc7b… · /containers/cna/references/1
{"name":"https://github.com/litestar-org/litestar/security/advisories/GHSA-542p-wvx7-72m4","tags":["x_refsource_CONFIRM"],"url":"https://github.com/litestar-org/litestar/security/advisories/GHSA-542p-wvx7-72m4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:db0f54ef1bb9956067ed1f9ef1f894bf0627166948dfe99980b03788c7b4660d · sha256:46083225d212bc7b… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/litestar-org/litestar/security/advisories/GHSA-542p-wvx7-72m4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:db0f54ef1bb9956067ed1f9ef1f894bf0627166948dfe99980b03788c7b4660d · sha256:46083225d212bc7b… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.