Security researchers at Aikido have disclosed eight high-severity vulnerabilities in NodeBB, the popular Node.js-based forum platform, all discovered by an autonomous AI pentesting agent in roughly six hours. The flaws affected default installations and were patched in NodeBB version 4.14.0, released in early July 2026.
Aikido researcher Jorian Woltjer ran the whitebox assessment while refining the company’s AI Pentest tool, and the agent didn’t just flag suspicious code; it wrote proof-of-concept exploits, stood up a custom federation server, and validated every finding against a live NodeBB instance.
Human-led penetration tests typically take days or weeks because testers can’t parallelize their effort the way autonomous agents can.
AI Pentest Uncovers Eight High-Severity NodeBB Flaws
Three of the eight bugs were XSS flaws tied to NodeBB’s ActivityPub federation feature, which lets instances share users and content across the fediverse.
In one case, an unescaped userData.picture field let a malicious federation server inject a script payload into a profile’s meta tags, triggering JavaScript execution simply by a victim visiting a crafted profile link.
A second flaw stored a malicious payload in NodeBB’s Federation Errors admin log, meaning an unauthenticated attacker could plant code that fires when an administrator merely reviews the error page, potentially handing over full control of the instance.
The third and broadest XSS came from a translation-engine template injection. Because NodeBB renders templates before running a separate translation pass, attacker-supplied text containing [[...]] translation syntax could be interpreted as legitimate keys, letting a javascript: link be smuggled into nearly any page element, including ordinary forum posts.
Fixing it required NodeBB to rework how translations are escaped across the platform, a change shipped as part of pull request #14341.
A separate class of bugs lets attackers sidestep access controls entirely. Because NodeBB checked admin privileges before applying custom homepage rewrites, any logged-in member could set their homepage to /admin and load the dashboard without any admin role, exposing user export data, error logs, and the ability to change the site logo.
Two more flaws stemmed from federation signature verification only running on POST requests: a GET request to /message/:mid let an attacker impersonate any user ID and read private messages one at a time, while a missing permission check on /category/:cid/outbox exposed entire private categories to unauthenticated requests.
The remaining issues covered a mass-assignment bug where submitting a topic with an existing pid value let an attacker overwrite another user’s post content, and a vote-inflation flaw in the “Announce” message format that bypassed actor verification, letting attackers spam unlimited upvotes on any post.
NodeBB’s maintainers responded quickly, releasing patches across commits addressing each flaw individually, with the full fix landing in version 4.14.0 and refined further in 4.14.2 on July 23.
Five of the eight bugs traced back to federation code, underscoring a pattern security researchers see repeatedly: primary authentication paths tend to be hardened, while secondary integrations like federation protocols lag behind.
Administrators running NodeBB should upgrade immediately, as Aikido notes its scanning tools will automatically flag vulnerable instances still exposed.