BREW-DATASETTE-CVE-2021-32670 (CVE-2021-32670)
Vulnerability from osv_homebrew – Published: 2026-08-13 16:42 – Updated: 2026-09-18 15:20 – Source websiteDatasette 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.
{
"affected": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"upstream_fixed_in": "0.56.1"
},
"package": {
"ecosystem": "Homebrew",
"name": "datasette",
"purl": "pkg:brew/datasette"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.65.3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "git",
"upstream_evidence": [
{
"ecosystem": "GIT",
"key": "https://github.com/simonw/datasette",
"name": "https://github.com/simonw/datasette",
"strategy": "git",
"subject_version": "0.65.5"
},
{
"ecosystem": "PyPI",
"key": "pkg:pypi/datasette@0.65.5",
"name": "datasette",
"strategy": "registry",
"subject_version": "0.65.5"
}
]
},
"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](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 `\u0026_trace=` in their query string parameters.",
"id": "BREW-datasette-CVE-2021-32670",
"modified": "2026-09-18T15:20:51Z",
"published": "2026-08-13T16:42:09Z",
"references": [
{
"type": "ADVISORY",
"url": "https://datasette.io/plugins/datasette-auth-passwords"
},
{
"type": "ADVISORY",
"url": "https://github.com/simonw/datasette/security/advisories/GHSA-xw7c-jx9m-xh5g"
},
{
"type": "ADVISORY",
"url": "https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks"
},
{
"type": "ADVISORY",
"url": "https://pypi.org/project/datasette/"
},
{
"type": "FIX",
"url": "https://github.com/simonw/datasette/issues/1360"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"upstream": [
"CVE-2021-32670",
"GHSA-gff3-739c-gxfq",
"GHSA-xw7c-jx9m-xh5g",
"PYSEC-2021-89"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.