SCA: security update for datasette (GHSA-xw7c-jx9m-xh5g)

medium Tenable Cloud Security Plugin ID 420708

Description

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

- Datasette is an open source multi-tool for exploring and publishing data. The `?_trace=1` debugging
feature in Datasette does not correctly escape generated HTML, resulting in a [reflected cross-site
scripting](https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks) vulnerability. This
vulnerability is particularly relevant if your Datasette installation includes authenticated features
using plugins such as [datasette-auth-passwords](https://datasette.io/plugins/datasette-auth-passwords) as
an attacker could use the vulnerability to access protected data. Datasette 0.57 and 0.56.1 both include
patches for this issue. If you run Datasette behind a proxy you can workaround this issue by rejecting any
incoming requests with `?_trace=` or `&_trace=` in their query string parameters. (CVE-2021-32670)

See Also

https://github.com/advisories/GHSA-xw7c-jx9m-xh5g

Plugin Details

Severity: Medium

ID: 420708

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2021-32670

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 1.3

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/7/2021

Vulnerability Publication Date: 6/7/2021

Reference Information

CVE: CVE-2021-32670

cwe: CWE-79