Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain moderator role in target guild
-
DeliveryInvoke automod add with whitespace-only input
-
ExploitBot trims and stores empty rule
-
ExecutionMembers post normal messages
-
PersistListener evaluates includes("") true
-
ImpactBot deletes every non-bot message
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | The attacker must already possess privileges sufficient to invoke the Quest Bot automod add slash/text command in the target Discord guild (CVSS PR:L - typically a guild moderator or admin role granted by the server owner), the bot must be running a version prior to 1.1.6 with the automod feature in use, and the payload must be a whitespace-only string so that post-trim storage yields the empty string consumed by the includes("") check. No end-user interaction is required (UI:N) beyond ordinary members posting messages that then get deleted, and exploitation is confined to guilds where the vulnerable bot is installed. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with high integrity and availability impacts to both vulnerable and subsequent systems yields a score of 8.4, which is plausible: any low-privileged user who can issue the automod add command (typically a server moderator or admin role configured by the guild owner) can permanently disrupt server communication until the bot is removed or the rule is cleared. There is no EPSS, KEV, or SSVC data provided, and no public exploit identified at time of analysis, but the trigger is a single whitespace string so exploitability is effectively trivial once configuration access is obtained. Real-world risk is limited by the small install base typical of niche Discord bots and by the fact that the attacker must already hold privileged automod-configuration rights in the target guild, making this more of a sabotage/insider-misuse risk than a mass-exploitation concern. |
| Exploit ScenarioDerived | A guild moderator with permission to manage automod rules issues the bot's automod add command with a value consisting solely of spaces; the server trims it to an empty string and stores it as a banned word. From that point onward, every non-bot message posted in the guild matches the empty rule and is deleted by the bot, effectively silencing the channel until an administrator removes the rule or uninstalls the bot. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 12, 2026
Improper input validation in Quest Bot (an open-source Discord bot) prior to version 1.1.6 lets a guild moderator weaponize the automod feature to delete every non-bot message in a server. By submitting whitespace-only input to the automod add command, the trimmed empty string is stored as a rule and the message listener's content.includes("") check evaluates true for all messages. No public exploit identified at time of analysis, though the trigger is trivial to reproduce by anyone with permission to configure automod rules.
RemediationAI
Vendor-released patch: Quest Bot 1.1.6 - operators running the bot should pull and redeploy this release (see https://github.com/duck-organization/questbot/releases/tag/questbot-v1.1.6 and advisory GHSA-fgwg-6px5-cxp5). If immediate upgrade is not possible, restrict who can invoke the automod add command by tightening Discord role permissions on the bot's configuration commands, and audit the currently configured automod word list to remove any empty or whitespace-only entries; the side effect is that automod rule management becomes limited to a smaller trusted group. As a last-resort containment step, disabling the automod module entirely or removing the bot from the guild will stop the mass-deletion behavior at the cost of losing automated moderation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Quest Bot is a Node.js/JavaScript-based Discord bot maintained by the duck-organization GitHub project (CPE: cpe:2.3:a:duck-organization:questbot). The bug is a classic CWE-20 Improper Input Validation: the automod add handler calls String.prototype.trim() on user-supplied banned-word input but never verifies the result is non-empty before persisting it. Downstream, the message listener uses JavaScript's String.prototype.includes() to test whether each guild message contains any stored banned word; per ECMA-262, str.includes("") returns true for every string, so once an empty rule exists the listener flags and deletes every non-bot message regardless of content.
Know when Questbot gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:H
Network-reachable Discord command (AV:N), trivial whitespace payload (AC:L), requires moderator-level automod privileges (PR:L), no user interaction; impact is mass message deletion - high integrity and availability, no confidentiality loss.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Quest Bot is an opensource Discord Bot. Prior to version 1.1.6, the automod add command trims user input but does not reject an empty result. Adding a rule containing only whitespace stores an empty word. The message listener later checks content.includes(""), which is always true, causing the bot to delete every non-bot guild message. This issue has been patched in version 1.1.6.
Executive ViewAI
Quest Bot, an open-source Discord bot used for server management, contains an input validation flaw in its automod feature that allows moderators to delete all non-bot messages by configuring a whitespace-only filter rule. Organizations using versions prior to 1.1.6 face message loss and potential disruption of communication infrastructure. The vulnerability requires only moderator-level permissions and is trivial to exploit without specialized knowledge.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict automod configuration permissions to administrators with demonstrated operational need; implement and monitor Discord audit logs for all automod rule modifications; audit all existing automod rules for suspicious patterns such as whitespace-only or overly-broad matching criteria; disable the automod feature if not critical to operations; evaluate alternative Discord bots with stronger input validation controls.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Discord role hierarchy bypass in Quest Bot (open-source Discord moderation bot) prior to version 1.1.6 allows moderators
Authorization bypass in Quest Bot Discord bot prior to version 1.1.6 lets low-privilege guild members invoke the purge a
Ticket panel resource exhaustion in Quest Bot (open-source Discord bot, all versions prior to 1.1.8) allows any Discord
Server-side request forgery in the open-source Discord bot Quest Bot (versions up to and including 1.1.8) lets any ordin
Mention injection in Quest Bot prior to version 1.1.6 allows Discord server moderators to embed @everyone or @here mass-
EUVD-2026-36412
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB