Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. datasette
  4. ›
  5. GHSA-gff3-739c-gxfq

GHSA-gff3-739c-gxfq: Duplicate Advisory: Reflected cross-site scripting issue in Datasette

June 10, 2021 (updated September 16, 2024)

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-xw7c-jx9m-xh5g. This link is maintained to preserve external references.

Original Description

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.

References

  • datasette.io/plugins/datasette-auth-passwords
  • github.com/advisories/GHSA-gff3-739c-gxfq
  • github.com/simonw/datasette/issues/1360
  • github.com/simonw/datasette/security/advisories/GHSA-xw7c-jx9m-xh5g
  • nvd.nist.gov/vuln/detail/CVE-2021-32670
  • owasp.org/www-community/attacks/xss/
  • pypi.org/project/datasette

Code Behaviors & Features

Detect and mitigate GHSA-gff3-739c-gxfq with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.56.1

Fixed versions

  • 0.56.1

Solution

Upgrade to version 0.56.1 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/datasette/GHSA-gff3-739c-gxfq.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:52 +0000.