CVE-2024-10031
Eclipse GlassFish is vulnerable to Stored XSS attacks through configuration file modifications
In Eclipse GlassFish version 7.0.15 is possible to perform Stored Cross-site Scripting attacks by modifying the configuration file in the underlying operating system.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- High
- User interaction
- Passive
What an attacker can affect
- Confidentiality
- Low
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.8
In Eclipse GlassFish version 7.0.15 is possible to perform Stored Cross-site Scripting attacks by modifying the configuration file in the underlying operating system.
- Record
CVE-2024-10031- CVSS 4.0
- 5.8 Medium
CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:P/VC:L/VI:H/VA:N/SC:H/SI:H/SA:N - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2024-54793
5.8
In Eclipse GlassFish version 7.0.15 is possible to perform Stored Cross-site Scripting attacks by modifying the configuration file in the underlying operating system.
- Record
EUVD-2024-54793- CVSS 4.0
- 5.8 Medium
CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:P/VC:L/VI:H/VA:N/SC:H/SI:H/SA:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-hp97-5x6g-q538
5.8
Eclipse GlassFish is vulnerable to Stored XSS attacks through configuration file modifications
In Eclipse GlassFish version 7.0.15 is possible to perform Stored Cross-site Scripting attacks by modifying the configuration file in the underlying operating system.
- Record
GHSA-hp97-5x6g-q538- CVSS 4.0
- 5.8 Medium
CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:P/VC:L/VI:H/VA:N/SC:H/SI:H/SA:N - Weakness
- CWE-79
- Updated
- 2026-11-02
NVD
5.8
In Eclipse GlassFish version 7.0.15 is possible to perform Stored Cross-site Scripting attacks by modifying the configuration file in the underlying operating system.
- Record
CVE-2024-10031- CVSS 4.0
- 5.8 Medium
CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:P/VC:L/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
5.8
In Eclipse GlassFish version 7.0.15 is possible to perform Stored Cross-site Scripting attacks by modifying the configuration file in the underlying operating system.
- Record
CVE-2024-10031- CVSS 4.0
- 5.8 Medium
CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:P/VC:L/VI:H/VA:N/SC:H/SI:H/SA:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVGHSA-hp97-5x6g-q538
5.8
Eclipse GlassFish is vulnerable to Stored XSS attacks through configuration file modifications
In Eclipse GlassFish version 7.0.15 is possible to perform Stored Cross-site Scripting attacks by modifying the configuration file in the underlying operating system.
- Record
GHSA-hp97-5x6g-q538- CVSS 4.0
- 5.8 Medium
CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:P/VC:L/VI:H/VA:N/SC:H/SI:H/SA:N - Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.glassfish.main.admingui:console-commonMaven |
through 7.0.25 | None known |
org.glassfish.main.admingui:console-commonMaven |
through 7.0.25, plus listed versions 3.1.23.1.2.24.04.0-b334.0-b72 Show 45 moreShow less4.0-b904.14.1.14.1.25.05.0.15.1.05.1.0-RC15.1.0-RC26.0.06.0.0-M16.0.0-RC16.0.0-RC26.0.0-RC36.0.0-RC46.1.06.2.06.2.16.2.26.2.36.2.46.2.57.0.07.0.0-M17.0.0-M107.0.0-M27.0.0-M37.0.0-M47.0.17.0.107.0.117.0.127.0.137.0.147.0.157.0.167.0.177.0.187.0.197.0.27.0.207.0.217.0.227.0.237.0.24 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-10031 is a medium vulnerability (CVSS 5.8) in Eclipse Glassfish, published July 16, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.19%, the 8th percentile. No source names a fixed version.
References
gitlab.eclipse.org/security/cve-assignement/-/issues/41
nvd.nist.gov/vuln/detail/CVE-2024-10031
gitlab.eclipse.org/security/vulnerability-reports/-/issues/229
github.com/advisories/GHSA-hp97-5x6g-q538
github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10031.json
github.com/eclipse-ee4j/glassfish
Left out here: 7 versions. The JSON record has them.