GitHub Advisoryadvisory · Maven

GHSA-93fv-4pm9-xp28 JDA (Java Discord API) downloads external URLs when updating message components

MEDIUM Published 2025-12-09 Modified 2025-12-09 Official page ↗
Ecosystem
Maven
Packages
net.dv8tion:JDA
Severity
Moderate
CVSS vector
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
Weaknesses
CWE-918
Reviewed
2025-12-09

Affected packages

• Maven net.dv8tion:JDA: >= 6.0.0, < 6.1.3 → fixed in 6.1.3

Description

Impact Anyone 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. If 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`. Patches This bug has been fixed in 6.1.3, and we recommend updating. Workarounds Avoid sending components from untrusted messages or update to version 6.1.3.

Related

Weakness · CWE (1)

  • CWE-918 Server-Side Request Forgery weakness

References