{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:eclipse:glassfish:7.0.15:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "7.0.15"
              },
              {
                "last_affected": "7.0.15"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "6f2f4c26b0f825d36b45ef39f6f83ac6b56d438c"
            },
            {
              "last_affected": "6f2f4c26b0f825d36b45ef39f6f83ac6b56d438c"
            }
          ],
          "repo": "https://github.com/eclipse-ee4j/glassfish",
          "type": "GIT"
        }
      ],
      "versions": [
        "7.0.15"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "eclipse",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10031.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "7.0.15"
          },
          {
            "last_affected": "7.0.15"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "In Eclipse GlassFish version 7.0.15 is possible to perform Stored Cross-site Scripting\nattacks by modifying the configuration file in the underlying operating system.",
  "id": "CVE-2024-10031",
  "modified": "2026-08-12T03:51:47.596510680Z",
  "published": "2025-07-16T11:02:51.419Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10031.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-10031"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.eclipse.org/security/cve-assignement/-/issues/41"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ]
}