SCA: security update for litestar (GHSA-542p-wvx7-72m4)

high Tenable Cloud Security Plugin ID 443058

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-48060)

Solution

Update the litestar library and its related packages to version 2.22.0 or later.

See Also

https://github.com/advisories/GHSA-542p-wvx7-72m4

Plugin Details

Severity: High

ID: 443058

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 6/11/2026

Updated: 7/29/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.63

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N

CVSS Score Source: CVE-2026-48060

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/10/2026

Vulnerability Publication Date: 6/10/2026

Reference Information

CVE: CVE-2026-48060

cwe: CWE-79