# CVE-2024-10031: Eclipse GlassFish is vulnerable to Stored XSS attacks through configuration file modifications

- Severity: Medium 5.8 (CVSS:4.0, scored by eclipse) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-07-16T11:02:51.419Z
- Modified: 2026-06-17T06:54:48.170Z
- Also known as: GHSA-hp97-5x6g-q538
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: eclipse

## Description

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.

(As written by CVE List.)

## Affected

- Eclipse Foundation Eclipse Glassfish: 7.0.15
- org.glassfish.main.admingui:console-common (Maven): up to 7.0.25
- eclipse glassfish: 7.0.15

## Every score

- eclipse: 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`
- GitHub: CVSS:4.0 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`
- NVD: 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`

## References

- <https://gitlab.eclipse.org/security/cve-assignement/-/issues/41> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-10031> (advisory)
- <https://github.com/eclipse-ee4j/glassfish> (package)
- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/229> (web)

## Sources

- CVE List: [CVE-2024-10031](https://www.cve.org/CVERecord?id=CVE-2024-10031), CVE Terms of Use, modified 2025-07-16
- GitHub Advisory Database: [GHSA-hp97-5x6g-q538](https://github.com/advisories/GHSA-hp97-5x6g-q538), CC-BY-4.0, modified 2025-07-18
- NVD: [CVE-2024-10031](https://nvd.nist.gov/vuln/detail/CVE-2024-10031), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-10031 · Whole record: https://cve.day/CVE-2024-10031.json · Rebuilt by cve.day 2026-11-25T22:58:52.817Z
