Advisory

PYSEC-2021-89

Also known as: CVE-2021-32670, GHSA-gff3-739c-gxfq, GHSA-xw7c-jx9m-xh5g

Summary

The record has no summary.

Details

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 vulnerability. This vulnerability is particularly relevant if your Datasette installation includes authenticated features using plugins such as 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.

Severity

Not rated by the source.

Dates

Published
2021-06-07 22:15 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

datasette

PyPI · All systems

Affected

  • introduced 0, fixed 0.56.1 (ecosystem)

Fixed versions

0.56.1

Fix

  • Fixed version 0.56.1
    pip install --upgrade datasette==0.56.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences