<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Notice: Breaking change in v4.5.0 (requests to internal IP addresses disallowed)]]></title><description><![CDATA[<p dir="auto">We are publishing a notice today to bring to attention an unintentional breaking change that could affect some users of NodeBB.</p>
<p dir="auto">v4.5.0 contained an update to <code>src/request.js</code> that calls a DNS resolver to ensure that the destination address is not a reserved IP address (e.g. <code>192.168...</code>, <code>127.0..</code>)</p>
<p dir="auto">This change was introduced in order to close off any potential for <a href="https://owasp.org/www-community/attacks/Server_Side_Request_Forgery" rel="nofollow ugc">Server-Side Request Forgery</a> for any calls made within the NodeBB codebase.</p>
<p dir="auto">In the vast majority of installations, this has no unintended effects. In some installations, custom plugins or themes may call URLs that resolve to an internal address <em>on purpose</em> (e.g. to query an internal database or similar.) In those situations, the call will now fail as of v4.5.0.</p>
<p dir="auto">In those situations, you will need to update the plugin to add the domain to the allow list by calling the <code>filter:request.init</code> hook:</p>
<p dir="auto"><strong>plugin.json</strong></p>
<pre><code>{
  ...
  "hooks": [
    ...
    { "hook": "filter:request.init", "method": "allowInternalHostname" },
    ...
  ]
  ...
}
</code></pre>
<p dir="auto"><strong>library.js or similar</strong></p>
<pre><code>const plugin = module.exports;

plugin.allowInternalHostname = async ({ allowed }) =&amp;gt; {
  allowed.add('example.org');
  return { allowed };
});
</code></pre>
]]></description><link>https://postcall.pub/topic/48ad9935-838d-44c2-bd2e-2ec1d68cdb32/notice-breaking-change-in-v4.5.0-requests-to-internal-ip-addresses-disallowed</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 15:09:52 GMT</lastBuildDate><atom:link href="https://postcall.pub/topic/48ad9935-838d-44c2-bd2e-2ec1d68cdb32.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Mar 2026 15:25:35 GMT</pubDate><ttl>60</ttl></channel></rss>