{"answers":{"affected":"2 open source packages ship an affected version, including org.glassfish.main.admingui:console-common. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-9343 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-9343 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-9343 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2024-9343 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.glassfish.main.admingui:console-common (Maven): affected all versions up to 7.0.25; no fix listed\n- org.glassfish.main.admingui:console-common (Maven): affected all versions up to 7.0.25; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-9343/ (Markdown: https://insights.sbomify.com/CVE-2024-9343/index.md)","id":"CVE-2024-9343","markdown":"https://insights.sbomify.com/CVE-2024-9343/index.md","name":"CVE-2024-9343","record":{"aliases":["GHSA-mqxx-c43h-jj9v"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Java application server","requires_auth":"high_privilege","summary":"Attackers can inject malicious scripts into the Eclipse GlassFish Administration Console, potentially compromising administrator sessions and executing arbitrary code.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"eclipse","cpe":[{"product":"glassfish","vendor":"eclipse"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:H/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"In Eclipse GlassFish version 7.0.15 is possible to perform Stored Cross-site scripting\nattacks in the Administration Console.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Eclipse GlassFish is vulnerable to Stored XSS attacks through its Administration Console","id":"CVE-2024-9343","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":2,"n_references":1,"next":{"headline":"Cross-site scripting in BerqWP – Automated All-In-One Page Speed Optimization for Core Web Vitals, Cache, CDN, Images, CSS, and JavaScript","id":"CVE-2024-9344"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["7.0.25"],"package":"org.glassfish.main.admingui:console-common","purl":null,"source":"GHSA-mqxx-c43h-jj9v"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["7.0.25"],"package":"org.glassfish.main.admingui:console-common","purl":"pkg:maven/org.glassfish.main.admingui/console-common","source":"GHSA-mqxx-c43h-jj9v"}],"prev":{"headline":"Eclipse GlassFish is vulnerable to Login Brute Force attacks through unlimited failed login attempts","id":"CVE-2024-9342"},"products":["Eclipse Glassfish"],"published":"2025-07-16","related":[{"cvss_score":9.6,"headline":"Server-side request forgery in Eclipse GlassFish","id":"CVE-2026-12605","kev_date_added":null,"published":"2026-08-06"},{"cvss_score":9.6,"headline":"GlassFish's gadget handler is vulnerable to RCE","id":"CVE-2026-2587","kev_date_added":null,"published":"2026-05-19"},{"cvss_score":9.1,"headline":"GlassFish's Administration Console is Vulnerable to RCE","id":"CVE-2026-2586","kev_date_added":null,"published":"2026-05-19"},{"cvss_score":8.9,"headline":"Eclipse GlassFish is vulnerable to Server Side Request Forgery attacks through specific endpoints","id":"CVE-2024-9408","kev_date_added":null,"published":"2025-07-16"},{"cvss_score":6.9,"headline":"Glassfish redirect to untrusted site","id":"CVE-2024-9329","kev_date_added":null,"published":"2024-09-30"},{"cvss_score":6.8,"headline":"Glassfish remote code execution","id":"CVE-2023-5763","kev_date_added":null,"published":"2023-11-03"},{"cvss_score":6.5,"headline":"Path Traversal In Eclipse GlassFish","id":"CVE-2022-2712","kev_date_added":null,"published":"2023-01-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-07-16","vendors":["Eclipse Foundation"]},"summary":"Attackers can inject malicious scripts into the Eclipse GlassFish Administration Console, potentially compromising administrator sessions and executing arbitrary code.","url":"https://insights.sbomify.com/CVE-2024-9343/"}