Security mailing lists by PureSourceCode

CVE-2021-32670

MEDIUM 6.1CVSS 3.1

Duplicate Advisory: Reflected cross-site scripting issue in Datasette

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.

Published
7 Jun 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-gff3-739c-gxfqGHSA-xw7c-jx9m-xh5gPYSEC-2021-89
Sources
NVDJSONOSV GHSA-gff3-739c-gxfqJSONOSV GHSA-xw7c-jx9m-xh5gJSONOSV PYSEC-2021-89JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD datasette datasette
cpe:2.3:a:datasette:datasette:*:*:*:*:*:*:*:*
< 0.56.1 0.56.1
OSV PyPI datasette < 0.56.1 0.56.1

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 7 Jun 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jun 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jun 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Jun 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.