CVE-2024-9343 Eclipse GlassFish is vulnerable to Stored XSS attacks through its Administration Console
Attackers can inject malicious scripts into the Eclipse GlassFish Administration Console, potentially compromising administrator sessions and executing arbitrary code.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-9343?
CVE-2024-9343 is a medium-severity cross-site scripting vulnerability in Eclipse Glassfish, published on 16 Jul 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
In Eclipse GlassFish version 7.0.15 is possible to perform Stored Cross-site scripting attacks in the Administration Console.
Weakness: CWE-79
Which versions are affected by CVE-2024-9343?
2 open source packages ship an affected version, including org.glassfish.main.admingui:console-common. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.glassfish.main.admingui:console-common Maven | All versions to 7.0.25 | None |
org.glassfish.main.admingui:console-common Maven | All versions to 7.0.25 | None |
Products include Eclipse Glassfish.
How do I fix CVE-2024-9343?
No fix has been published for CVE-2024-9343 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-9343 being exploited?
There is no known exploitation of CVE-2024-9343 in the wild and no public exploit code.
Other vulnerabilities in Eclipse Glassfish
- CVE-2026-12605 Server-side request forgery in Eclipse GlassFish
- CVE-2026-2587 GlassFish's gadget handler is vulnerable to RCE
- CVE-2026-2586 GlassFish's Administration Console is Vulnerable to RCE
- CVE-2024-9408 Eclipse GlassFish is vulnerable to Server Side Request Forgery attacks through specific endpoints
- CVE-2024-9329 Glassfish redirect to untrusted site
Sources
Also known as GHSA-mqxx-c43h-jj9v.