CVE-2026-48060 json
Litestar: HTML Injection Through CSRF Token
published 5mo ago modified 19d ago also EUVD-2026-49994 , GHSA-542p-wvx7-72m4 , PYSEC-2026-2604
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 29%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi litestar 2.22.0
- litestar litestar 2.20.0
Is CVE-2026-48060 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 3mo ago
Exploit prediction
0.35% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/litestar-org/litestar/security/advisories/GHSA-542p-wvx7-72m4 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | litestar | <2.22.0 |
2.22.0 |
Affected products
- litestar-org litestar
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/litestar-org/litestar/security/advisories/GHSA-542p-wvx7-72m4
exploit, web
- github.com /litestar-org/litestar/releases/tag/v2.20.0
-
docs.litestar.dev
/2/release-notes/changelog.html#2.22.0
web
-
github.com
/litestar-org/litestar
package
-
pypi.org
/project/litestar
package
-
github.com
/advisories/GHSA-542p-wvx7-72m4
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-48060
advisory
Sources
- CVE List CVE-2026-48060
- GitHub Advisory GHSA-542p-wvx7-72m4
- NVD CVE-2026-48060
- OSV PYSEC-2026-2604
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.