Vulnerabilities in pkg:maven/net.dv8tion/JDA
PACKAGEGHSA-93fv-4pm9-xp28 is a MODERATE jda (java discord api) downloads vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting JDA libraries in the Maven ecosystem. The issue involves jda (java discord api) downloads external urls when updating message components. Remediation is available by upgrading affected packages to version 6.1.3.
pkg:maven/net.dv8tion/JDA
Vulnerability advisories affecting package pkg:maven/net.dv8tion/JDA. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-93fv-4pm9-xp28 | - | MODERATE | JDA (Java Discord API) downloads external URLs when updating message components |
GHSA-93fv-4pm9-xp28 at a Glance
How to Fix GHSA-93fv-4pm9-xp28
To remediate this vulnerability, upgrade all affected JDA dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>6.1.3</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=net.dv8tion
How to Check if You Are Affected
To determine whether your Java application is affected by GHSA-93fv-4pm9-xp28, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=net.dv8tion
Analyze the terminal output to locate any version of JDA in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.1.3), your application is affected.
Note: The mvn dependency:tree -Dincludes=net.dv8tion command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In JDA, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-93fv-4pm9-xp28 Affected JDA Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
net.dv8tion:JDA
|
Maven |
≥ 6.0.0
< 6.1.3
|
6.1.3
|
References
Frequently Asked Questions
What is GHSA-93fv-4pm9-xp28?
Which JDA versions are affected?
What version fixes GHSA-93fv-4pm9-xp28?
Is JDA affected?
What CWE is associated with GHSA-93fv-4pm9-xp28?
How can I check Maven dependencies for GHSA-93fv-4pm9-xp28?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-93fv-4pm9-xp28",
"modified" : "2025-12-09T17:23:54Z",
"published" : "2025-12-09T17:23:54Z",
"aliases" : [ ],
"summary" : "JDA (Java Discord API) downloads external URLs when updating message components",
"details" : "### Impact\n\nAnyone using untrusted message components may be affected. On versions >=6.0.0,<6.1.3 of JDA, the requester will attempt to download external media URLs from components if they are used in an update or send request.\n\nIf you are used `Message#getComponents` or similar to get a list of components and then send those components with `sendMessageComponents` or other methods, you might unintentionally download media from an external URL in the resolved media of a `Thumbnail`, `FileDisplay`, or `MediaGallery`.\n\n### Patches\n\nThis bug has been fixed in 6.1.3, and we recommend updating.\n\n### Workarounds\n\nAvoid sending components from untrusted messages or update to version 6.1.3.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "net.dv8tion:JDA"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.1.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/discord-jda/JDA/security/advisories/GHSA-93fv-4pm9-xp28"
}, {
"type" : "WEB",
"url" : "https://github.com/discord-jda/JDA/commit/bb6d2ce5cf514429327c257f5c6fa95a137e3ab6"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/discord-jda/JDA"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-12-09T17:23:54Z",
"nvd_published_at" : null
}
}