CVE-2026-48485
Deferred Deferred - Pending Action
Stored Warning Reasons XSS in Quest Bot

Publication date: 2026-06-12

Last updated on: 2026-06-12

Assigner: GitHub, Inc.

Description
Quest Bot is an opensource Discord Bot. Prior to version 1.1.6, the latest release suppresses mentions when creating, unbanning, unwarning, kicking, muting, and unmuting, but stored warning reasons are still printed by /warns without mention suppression. A moderator can create a warning with @everyone or @here in the reason, then make the bot later output that reason through /warns, causing a mass ping if the bot has permission. This issue has been patched in version 1.1.6.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-12
Last Modified
2026-06-12
Generated
2026-06-12
AI Q&A
2026-06-12
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
duck-organization questbot to 1.1.6 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-116 The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Compliance Impact

This vulnerability allows a moderator to cause mass mentions via stored warning reasons, potentially disrupting server communication by triggering mass pings. However, the impact is limited to the integrity and availability of the server's communication and does not affect confidentiality.

Since the issue does not involve unauthorized access to or disclosure of personal or sensitive data, it is unlikely to directly affect compliance with data protection regulations such as GDPR or HIPAA, which primarily focus on confidentiality and privacy of personal information.

The vulnerability is classified under CWE-116 for improper encoding or escaping of output, which relates to output handling rather than data protection compliance.

Executive Summary

This vulnerability exists in the Quest Bot, an open-source Discord bot, where stored warning reasons can trigger mass mentions through the `/warns` command. Specifically, a moderator with warning permissions can include @everyone or @here in a warning reason, which is then stored and later displayed by the `/warns` command without suppressing mentions. This causes a delayed mass ping if the bot has permission to mention everyone, potentially disrupting large servers.

The issue arises because, unlike other commands that suppress mentions, the `/warns` command outputs stored warning reasons in a normal bot message without disabling mentions. This vulnerability is classified under CWE-116 for improper encoding or escaping of output and has a low severity with a CVSS score of 2.1.

Impact Analysis

The vulnerability can impact you by causing unwanted mass pings or notifications in your Discord server when the `/warns` command outputs stored warning reasons containing @everyone or @here mentions. This can disrupt communication and availability within large servers by triggering mass notifications unexpectedly.

The impact is limited to the integrity and availability of the server's communication rather than confidentiality, meaning it does not expose sensitive data but can cause annoyance and disruption.

Detection Guidance

This vulnerability can be detected by checking if the Quest Bot is running a version prior to 1.1.6 and if it outputs stored warning reasons containing @everyone or @here mentions through the /warns command.

You can manually inspect the warnings stored by the bot for any mention strings such as @everyone or @here that could trigger mass pings when displayed.

Since the issue involves the bot outputting stored warning reasons without mention suppression, monitoring the bot's /warns command output for unexpected mass mentions can help detect exploitation.

No specific detection commands are provided in the available resources.

Mitigation Strategies

The immediate mitigation step is to upgrade the Quest Bot to version 1.1.6 or later, where the issue with mention suppression in the /warns command has been fixed.

Additionally, restrict warning permissions to trusted moderators only, as the vulnerability requires a moderator with warning permissions to exploit.

If upgrading immediately is not possible, consider disabling the bot's permission to mention @everyone or @here to prevent mass pings triggered by stored warning reasons.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-48485. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart