{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2018-2424 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-2424 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-2424 is a critical cross-site scripting vulnerability in SAP HANA Database, published on 12 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-2424 and fix it if it is affected.\n\nWhat it is: CVE-2018-2424 is a critical cross-site scripting vulnerability in SAP HANA Database, published on 12 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-2424 in the wild and no public exploit code.\n\nAffected product: SAP HANA Database. 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-2018-2424/ (Markdown: https://insights.sbomify.com/CVE-2018-2424/index.md)","id":"CVE-2018-2424","markdown":"https://insights.sbomify.com/CVE-2018-2424/index.md","name":"CVE-2018-2424","record":{"aliases":["GHSA-5q23-7rqm-g3pj"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"SAP UI5 framework","requires_auth":"none","summary":"Attackers can inject malicious JavaScript into SAP UI5 applications to steal user information or execute code.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sap","cpe":[{"product":"hana_database","vendor":"sap"},{"product":"ui","vendor":"sap"},{"product":"ui5","vendor":"sap"},{"product":"ui5_java","vendor":"sap"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"SAP UI5 did not validate user input before adding it to the DOM structure. This may lead to malicious user-provided JavaScript code being added to the DOM that could steal user information. Software components affected are: SAP Hana Database 1.00, 2.00; SAP UI5 1.00; SAP UI5 (Java) 7.30, 7.31, 7.40, 7,50; SAP UI 7.40, 7.50, 7.51, 7.52, and version 2.0 of SAP UI for SAP NetWeaver 7.00","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 in SAP HANA Database","id":"CVE-2018-2424","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2018"},"n_packages":0,"n_references":3,"next":{"headline":"Information disclosure in SAP Business One","id":"CVE-2018-2425"},"packages":[],"prev":{"headline":"Denial of service in SAP Internet Graphics Server (IGS)","id":"CVE-2018-2423"},"products":["SAP HANA Database","SAP UI","SAP UI for SAP NetWeaver 7.00","SAP UI5","SAP UI5(Java)"],"published":"2018-06-12","related":[{"cvss_score":8.8,"headline":"Privilege escalation vulnerability in SAP HANA database","id":"CVE-2026-0492","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":7.5,"headline":"Denial of service in SAP HANA Database","id":"CVE-2019-0350","kev_date_added":null,"published":"2019-11-04"},{"cvss_score":6.5,"headline":"Weak cryptography in SAP HANA Database","id":"CVE-2021-21474","kev_date_added":null,"published":"2021-02-09"},{"cvss_score":5.3,"headline":"Information disclosure in SAP HANA extended application services","id":"CVE-2017-16687","kev_date_added":null,"published":"2017-12-12"},{"cvss_score":4.2,"headline":"Auth bypass in SAP HANA Database","id":"CVE-2020-26834","kev_date_added":null,"published":"2020-12-09"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["SAP SE"]},"summary":"Attackers can inject malicious JavaScript into SAP UI5 applications to steal user information or execute code.","url":"https://insights.sbomify.com/CVE-2018-2424/"}