Description
Datasette is an open source multi-tool for exploring and publishing data. In versions 0.65.1 and below and 1.0a0 through 1.0a19, deployed instances of Datasette include an open redirect vulnerability. Hits to the path //example.com/foo/bar/ (the trailing slash is required) will redirect the user to https://example.com/foo/bar. This problem has been patched in both Datasette 0.65.2 and 1.0a21. To workaround this issue, if Datasette is running behind a proxy, that proxy could be configured to replace // with / in incoming request URLs.
Problem types
CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Product status
>= 1.0a0, < 1.0a20
References
github.com/...asette/security/advisories/GHSA-w832-gg5g-x44m
github.com/simonw/datasette/issues/2429
github.com/...ommit/f257ca6edb64848c3b04b54d41e347c54fe57c05