{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-21738 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-21738 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-21738 is a medium-severity cross-site scripting vulnerability in Sap Netweaver Application Server Abap, published on 9 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-21738 and fix it if it is affected.\n\nWhat it is: CVE-2024-21738 is a medium-severity cross-site scripting vulnerability in Sap Netweaver Application Server Abap, published on 9 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-21738 in the wild and no public exploit code.\n\nAffected product: Sap Netweaver Application Server Abap. 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-21738/ (Markdown: https://insights.sbomify.com/CVE-2024-21738/index.md)","id":"CVE-2024-21738","markdown":"https://insights.sbomify.com/CVE-2024-21738/index.md","name":"CVE-2024-21738","record":{"aliases":["GHSA-ccxm-r356-vpjv"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"SAP NetWeaver ABAP","requires_auth":"low_privilege","summary":"An attacker with low privileges can exploit insufficient input encoding to perform Cross-Site Scripting, leading to limited confidentiality impact on application data.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sap","cpe":[{"product":"netweaver_application_server_abap","vendor":"sap"}],"cvss":{"score":4.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"SAP NetWeaver ABAP Application Server and ABAP Platform do not sufficiently encode user-controlled inputs, resulting in Cross-Site Scripting (XSS) vulnerability. An attacker with low privileges can cause limited impact to confidentiality of the application data after successful exploitation.","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 (XSS) vulnerability in SAP NetWeaver ABAP Application Server and ABAP Platform","id":"CVE-2024-21738","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"sap:netweaver_application_server_abap","products":["sap:netweaver_application_server_abap"],"type":"xss","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Missing authorization in n/a","id":"CVE-2024-21739"},"packages":[],"prev":{"headline":"Code Injection vulnerability in SAP Application Interface Framework (File Adapter)","id":"CVE-2024-21737"},"products":["SAP NetWeaver ABAP Application Server and ABAP Platform"],"published":"2024-01-09","related":[{"cvss_score":9.9,"headline":"Code Injection vulnerability in SAP CRM and SAP S/4HANA (Scripting Editor)","id":"CVE-2026-0488","kev_date_added":null,"published":"2026-02-10"},{"cvss_score":9.8,"headline":"Code injection in SAP NetWeaver Application Server for ABAP (SAP Cloud Print Manager and SAPSprint)","id":"CVE-2021-40499","kev_date_added":null,"published":"2021-10-12"},{"cvss_score":9.6,"headline":"Directory Traversal vulnerability in SAP NetWeaver AS for ABAP and ABAP Platform","id":"CVE-2023-27269","kev_date_added":null,"published":"2023-03-14"},{"cvss_score":9.6,"headline":"Directory Traversal vulnerability in SAP NetWeaver AS for ABAP and ABAP Platform","id":"CVE-2023-27500","kev_date_added":null,"published":"2023-03-14"},{"cvss_score":9,"headline":"Capture-replay vulnerability in SAP NetWeaver AS for ABAP and ABAP Platform","id":"CVE-2023-0014","kev_date_added":null,"published":"2023-01-10"},{"cvss_score":8.8,"headline":"Missing authorization in SAP NetWeaver Application Server for ABAP and ABAP Platform","id":"CVE-2022-29611","kev_date_added":null,"published":"2022-05-11"},{"cvss_score":8.8,"headline":"Missing authorization in ABAP Platform(SAP Basis)","id":"CVE-2019-0257","kev_date_added":null,"published":"2019-02-15"}],"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-06-03","vendors":["SAP_SE"]},"summary":"An attacker with low privileges can exploit insufficient input encoding to perform Cross-Site Scripting, leading to limited confidentiality impact on application data.","url":"https://insights.sbomify.com/CVE-2024-21738/"}