<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>writefreely &amp;mdash; Niklas&#39;s thoughts</title>
    <link>https://thoughts.pivic.com/tag:writefreely</link>
    <description>Music and other stuff</description>
    <pubDate>Wed, 22 Jul 2026 04:17:42 +0200</pubDate>
    <item>
      <title>WriteFreely and security issues</title>
      <link>https://thoughts.pivic.com/writefreely-and-security-issues</link>
      <description>&lt;![CDATA[writefreely&#xA;&#xA;On 2026-04-26 a critical bug was registered to show that anybody could create a user account even if the administrator of a WriteFreely instance disallowed the registration of user accounts. The person who logged the bug added this information:&#xA;&#xA;  PS: not sure if it&#39;s actually a security issue, but we tried to reach out to security@writefreely.org beforehand, but haven&#39;t received a reply&#xA;&#xA;The fix was merged into code two weeks ago.&#xA;&#xA;The release to fix the problem was published ten hours ago. At the same time, WriteFreely posted this on Mastodon:&#xA;&#xA;  Most importantly, this fixes an issue where malicious actors can create accounts on closed-registration #WriteFreely instances running the previous v0.16 or below. We&#39;ve heard reports of this ACTIVELY being exploited today across many WriteFreely instances -- multi- and single-user. We advise ALL WriteFreely admins to upgrade immediately. You may also notice many unwanted accounts on your instance that need to be manually cleaned up. We&#39;ll be adding admin tools to make this quicker soon.&#xA;&#xA;Two days ago, a person commented on the bug fix. The person made some points:&#xA;&#xA;  [...]&#xA;    Today, I discovered more than 150 automatically created accounts on my instance, which was configured with registrations closed and invitations restricted to administrators. Each account immediately published a spam post.&#xA;    We are talking about a complete bypass of the registration access control, which allows attackers to:&#xA;    - Create unlimited accounts without authorization.&#xA;  - Publish spam or malicious content under the instance’s domain.&#xA;  - Consume storage and server resources.&#xA;  - Damage the domain’s reputation.&#xA;  - Potentially access private content on instances where authenticated users have additional permissions.&#xA;    This issue was reported months ago and acknowledged as unintended behavior:&#xA;    “This isn&#39;t by design, and did need to be fixed.”&#xA;    However, it was deferred to a future release, without publishing a security update, notifying administrators, or providing an official mitigation. In the meantime, the vulnerable endpoint is actively being exploited.&#xA;    A vulnerability of this severity should not have to wait for the next regular release. A corrective version, even if it is simply 0.16.1, should be released immediately, together with a security advisory warning all WriteFreely administrators.&#xA;    [...]&#xA;    Please release a security update immediately and clearly notify administrators. It is not acceptable to leave a publicly exploitable endpoint available for months when it completely invalidates the closed-registration setting.&#xA;&#xA;I just had to manually connect to my instance and use mysql commands to manually delete a number of users.&#xA;&#xA;Don&#39;t get me wrong: I&#39;m grateful to use WriteFreely and I&#39;m grateful to its makers. However, the critique should be taken seriously. WriteFreely does generate money for its maker. To wait nearly three months to fix what WriteFreely themselves seem to infer to as a &#39;critical security fix&#39; is extremely bad. I&#39;m considering to migrate from WriteFreely to a static site generator, for example, Mataroa, where I host another blog.]]&gt;</description>
      <content:encoded><![CDATA[<p><img src="https://p.kagi.com/proxy/cd618b80-cee7-11e9-8579-e6a6e8f21ddb?c=oX1P442RjCH0M-gV8Dimf1sTtugC8qcyD8RpYFCmQTqdc8Q3V5cGgTH_YtC2gp89-C73jlWE_7ZF7VV4kSwlpXZRdPJrsZ_ngjAg9-Jz1I5WL3WM_8tTKWvT_AMf6NXqD__QNnGiyXEMPL-idWl5LQ%3D%3D" alt="writefreely"></p>

<p>On 2026-04-26 <a href="https://github.com/writefreely/writefreely/issues/1649">a critical bug</a> was registered to show that anybody could create a user account even if the administrator of a WriteFreely instance disallowed the registration of user accounts. The person who logged the bug added this information:</p>

<blockquote><p>PS: not sure if it&#39;s actually a security issue, but we tried to reach out to <a href="mailto:security@writefreely.org">security@writefreely.org</a> beforehand, but haven&#39;t received a reply</p></blockquote>

<p>The fix was merged into code <a href="https://github.com/writefreely/writefreely/pull/1686#issuecomment-4879583999">two weeks ago</a>.</p>

<p>The <a href="https://github.com/writefreely/writefreely/releases/tag/v0.17.0">release to fix the problem</a> was published ten hours ago. At the same time, <a href="https://writing.exchange/@writefreely/116937985462214581">WriteFreely posted this on Mastodon</a>:</p>

<blockquote><p>Most importantly, this fixes an issue where malicious actors can create accounts on closed-registration <a href="https://kolektiva.social/tags/WriteFreely"><a href="https://thoughts.pivic.com/tag:WriteFreely" class="hashtag"><span>#</span><span class="p-category">WriteFreely</span></a></a> instances running the previous v0.16 or below. We&#39;ve heard reports of this ACTIVELY being exploited today across many WriteFreely instances — multi- and single-user. We advise ALL WriteFreely admins to upgrade immediately. You may also notice many unwanted accounts on your instance that need to be manually cleaned up. We&#39;ll be adding admin tools to make this quicker soon.</p></blockquote>

<p>Two days ago, a person <a href="https://github.com/writefreely/writefreely/issues/1649#issuecomment-4996036285">commented on the bug fix</a>. The person made some points:</p>

<blockquote><p>[...]</p>

<p>Today, I discovered more than 150 automatically created accounts on my instance, which was configured with registrations closed and invitations restricted to administrators. Each account immediately published a spam post.</p>

<p>We are talking about a complete bypass of the registration access control, which allows attackers to:</p>
<ul><li>Create unlimited accounts without authorization.</li>
<li>Publish spam or malicious content under the instance’s domain.</li>
<li>Consume storage and server resources.</li>
<li>Damage the domain’s reputation.</li>
<li>Potentially access private content on instances where authenticated users have additional permissions.</li></ul>

<p>This issue was reported months ago and acknowledged as unintended behavior:</p>

<p>“This isn&#39;t by design, and did need to be fixed.”</p>

<p>However, it was deferred to a future release, without publishing a security update, notifying administrators, or providing an official mitigation. In the meantime, the vulnerable endpoint is actively being exploited.</p>

<p>A vulnerability of this severity should not have to wait for the next regular release. A corrective version, even if it is simply <code>0.16.1</code>, should be released immediately, together with a security advisory warning all WriteFreely administrators.</p>

<p>[...]</p>

<p>Please release a security update immediately and clearly notify administrators. It is not acceptable to leave a publicly exploitable endpoint available for months when it completely invalidates the closed-registration setting.</p></blockquote>

<p>I just had to manually connect to my instance and use mysql commands to manually delete a number of users.</p>

<p>Don&#39;t get me wrong: I&#39;m grateful to use WriteFreely and I&#39;m grateful to its makers. However, the critique should be taken seriously. WriteFreely does generate money for its maker. To wait nearly three months to fix what WriteFreely themselves <a href="https://writing.exchange/@writefreely/116937920745292055">seem to infer to</a> as a &#39;critical security fix&#39; is extremely bad. I&#39;m considering to migrate from WriteFreely to a static site generator, for example, <a href="https://pivic.blog/blog/mataroa/">Mataroa</a>, where I host another blog.</p>
]]></content:encoded>
      <guid>https://thoughts.pivic.com/writefreely-and-security-issues</guid>
      <pubDate>Sat, 18 Jul 2026 11:35:23 +0200</pubDate>
    </item>
  </channel>
</rss>