{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-22126 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-22126 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-22126 is a medium-severity cross-site scripting vulnerability in Sap Netweaver Application Server Java, published on 13 Feb 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-22126 and fix it if it is affected.\n\nWhat it is: CVE-2024-22126 is a medium-severity cross-site scripting vulnerability in Sap Netweaver Application Server Java, published on 13 Feb 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-22126 in the wild and no public exploit code.\n\nAffected product: Sap Netweaver Application Server Java. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-22126/ (Markdown: https://insights.sbomify.com/CVE-2024-22126/index.md)","id":"CVE-2024-22126","markdown":"https://insights.sbomify.com/CVE-2024-22126/index.md","name":"CVE-2024-22126","record":{"aliases":["GHSA-r3c3-f9mx-3phh"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"SAP NetWeaver AS Java","requires_auth":"none","summary":"Attackers can execute arbitrary scripts in the User Admin application via URL parameters, compromising confidentiality and integrity.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sap","cpe":[{"product":"netweaver_application_server_java","vendor":"sap"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"The User Admin application of SAP NetWeaver AS for Java - version 7.50, insufficiently validates and improperly encodes the incoming URL parameters before including them into the redirect URL. This results in Cross-Site Scripting (XSS) vulnerability, leading to a high impact on confidentiality and mild impact on integrity and availability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Cross Site Scripting vulnerability in SAP NetWeaver AS Java (User Admin Application)","id":"CVE-2024-22126","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"sap:netweaver_application_server_java","products":["sap:netweaver_application_server_java"],"type":"xss","year":"2024"},"n_packages":0,"n_references":3,"next":{"headline":"Code Injection vulnerability in SAP NetWeaver AS Java (Administrator Log Viewer plug-in)","id":"CVE-2024-22127"},"packages":[],"prev":{"headline":"Information Disclosure vulnerability in Microsoft Edge browser extension (SAP GUI connector for Microsoft Edge)","id":"CVE-2024-22125"},"products":["SAP NetWeaver AS Java (User Admin Application)"],"published":"2024-02-13","related":[{"cvss_score":10,"headline":"SAP NetWeaver Missing Authentication for Critical Function","id":"CVE-2020-6287","kev_date_added":"2021-11-03","published":"2020-07-14"},{"cvss_score":10,"headline":"SAP NetWeaver Remote Code Execution","id":"CVE-2010-5326","kev_date_added":"2021-11-03","published":"2016-05-13"},{"cvss_score":9.8,"headline":"SAP NetWeaver SQL Injection","id":"CVE-2016-2386","kev_date_added":"2022-06-09","published":"2016-02-16"},{"cvss_score":7.5,"headline":"SAP NetWeaver Directory Traversal","id":"CVE-2017-12637","kev_date_added":"2025-03-19","published":"2017-08-07"},{"cvss_score":7.5,"headline":"SAP NetWeaver Directory Traversal","id":"CVE-2016-3976","kev_date_added":"2021-11-03","published":"2016-04-07"},{"cvss_score":6.5,"headline":"SAP NetWeaver XML External Entity (XXE)","id":"CVE-2016-9563","kev_date_added":"2021-11-03","published":"2016-11-23"},{"cvss_score":5.3,"headline":"SAP NetWeaver Information Disclosure","id":"CVE-2016-2388","kev_date_added":"2022-06-09","published":"2016-02-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-02-11","vendors":["SAP_SE"]},"summary":"Attackers can execute arbitrary scripts in the User Admin application via URL parameters, compromising confidentiality and integrity.","url":"https://insights.sbomify.com/CVE-2024-22126/"}