<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 09 Nov 2026 23:28:50 +0000</lastBuildDate>
    <item>
      <title>BREW-datasette-GHSA-q6j3-c4wc-63vw — CSRF tokens leaked in URL by canned query form</title>
      <link>https://db.gcve.eu/vuln/brew-datasette-ghsa-q6j3-c4wc-63vw</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: datasette&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The HTML form for a read-only canned query includes the hidden CSRF token field added in #798 for writable canned queries (#698).&lt;/p&gt;
&lt;p&gt;This means that submitting those read-only forms exposes the CSRF token in the URL - for example on https://latest.datasette.io/fixtures/neighborhood_search submitting the form took me to:&lt;/p&gt;
&lt;p&gt;https://latest.datasette.io/fixtures/neighborhood_search?text=down&amp;amp;csrftoken=CSRFTOKEN-HERE&lt;/p&gt;
&lt;p&gt;This token could potentially leak to an attacker if the resulting page has a link to an external site on it and the user clicks the link, since the token would be exposed in the referral logs.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;A fix for this issue has been released in Datasette 0.46.&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;You can fix this issue in a Datasette instance without upgrading by copying the [0.46 query.html template](https://raw.githubusercontent.com/simonw/datasette/0.46/datasette/templates/query.html) into a custom `templates/` directory and running Datasette with the `--template-dir=templates/` option.&lt;/p&gt;
&lt;p&gt;### References&lt;/p&gt;
&lt;p&gt;Issue 918 discusses this in details: https://github.com/simonw/datasette/issues/918&lt;/p&gt;
&lt;p&gt;### For more information&lt;/p&gt;
&lt;p&gt;Contact swillison at gmail with any questions.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: datasette&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The HTML form for a read-only canned query includes the hidden CSRF token field added in #798 for writable canned queries (#698).&lt;/p&gt;
&lt;p&gt;This means that submitting those read-only forms exposes the CSRF token in the URL - for example on https://latest.datasette.io/fixtures/neighborhood_search submitting the form took me to:&lt;/p&gt;
&lt;p&gt;https://latest.datasette.io/fixtures/neighborhood_search?text=down&amp;amp;csrftoken=CSRFTOKEN-HERE&lt;/p&gt;
&lt;p&gt;This token could potentially leak to an attacker if the resulting page has a link to an external site on it and the user clicks the link, since the token would be exposed in the referral logs.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;A fix for this issue has been released in Datasette 0.46.&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;You can fix this issue in a Datasette instance without upgrading by copying the [0.46 query.html template](https://raw.githubusercontent.com/simonw/datasette/0.46/datasette/templates/query.html) into a custom `templates/` directory and running Datasette with the `--template-dir=templates/` option.&lt;/p&gt;
&lt;p&gt;### References&lt;/p&gt;
&lt;p&gt;Issue 918 discusses this in details: https://github.com/simonw/datasette/issues/918&lt;/p&gt;
&lt;p&gt;### For more information&lt;/p&gt;
&lt;p&gt;Contact swillison at gmail with any questions.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/brew-datasette-ghsa-q6j3-c4wc-63vw</guid>
    </item>
  </channel>
</rss>
