Loading advisory.
Loading advisory.
Reflected cross-site scripting issue in Datasette
The ?_trace=1 debugging feature in Datasette does not correctly escape generated HTML, resulting in a reflected cross-site scripting vulnerability.
Published 2021-06-07 21:20 UTC · Modified 2026-07-08 06:28 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| datasette | PyPI | < 0.56.1 versions 0.10, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.22.1, 0.23, 0.23.1, 0.23.2, 0.24, 0.25, 0.25.1 and 72 more | 0.56.1 | pip install --upgrade 'datasette>=0.56.1' |
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.
If you have any questions or comments about this advisory:
Open a discussion in simonw/datasette
Email us at swillison+datasette @ gmail.com
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.010 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.010 | first score | v2026.06.15 |