{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-2491 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-2491 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-2491 is a high-severity cross-site scripting vulnerability in SAP Fiori Client, published on 13 Nov 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-2491 and fix it if it is affected.\n\nWhat it is: CVE-2018-2491 is a high-severity cross-site scripting vulnerability in SAP Fiori Client, published on 13 Nov 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-2491 in the wild and no public exploit code.\n\nAffected product: SAP Fiori Client. 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-2491/ (Markdown: https://insights.sbomify.com/CVE-2018-2491/index.md)","id":"CVE-2018-2491","markdown":"https://insights.sbomify.com/CVE-2018-2491/index.md","name":"CVE-2018-2491","record":{"aliases":["GHSA-543q-j4vp-rjfq"],"analysis":{"component_type":"mobile_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"SAP Fiori Client","requires_auth":"none","summary":"Attackers can execute malicious JavaScript in the log viewer via deep links when debug logging is enabled, requiring users to upgrade the mobile client.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sap","cpe":[{"product":"fiori_client","vendor":"sap"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"When opening a deep link URL in SAP Fiori Client with log level set to \"Debug\", the client application logs the URL to the log file. If this URL contains malicious JavaScript code it can eventually run inside the built-in log viewer of the application in case user opens the viewer and taps on the hyperlink in the viewer. SAP Fiori Client version 1.11.5 in Google Play store addresses these issues and users must update to that version.","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 Fiori Client","id":"CVE-2018-2491","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2018"},"n_packages":0,"n_references":2,"next":{"headline":"XML external entity in SAP NetWeaver Application Server (Java Library)","id":"CVE-2018-2492"},"packages":[],"prev":{"headline":"Missing authorization in SAP Fiori Client","id":"CVE-2018-2490"},"products":["SAP Fiori Client"],"published":"2018-11-13","related":[{"cvss_score":7.8,"headline":"Denial of service in SAP Fiori Client","id":"CVE-2018-2488","kev_date_added":null,"published":"2018-11-13"},{"cvss_score":7.8,"headline":"Missing authorization in SAP Fiori Client","id":"CVE-2018-2489","kev_date_added":null,"published":"2018-11-13"},{"cvss_score":7.8,"headline":"Missing authorization in SAP Fiori Client","id":"CVE-2018-2490","kev_date_added":null,"published":"2018-11-13"},{"cvss_score":7.7,"headline":"It is possible for a malicious application or malware to execute JavaScript in a SAP Fiori application.","id":"CVE-2018-2485","kev_date_added":null,"published":"2018-11-13"},{"cvss_score":7.6,"headline":"Security feature bypass in SAP Fiori Client Native Mobile for Android","id":"CVE-2021-33699","kev_date_added":null,"published":"2021-08-10"}],"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"]},"summary":"Attackers can execute malicious JavaScript in the log viewer via deep links when debug logging is enabled, requiring users to upgrade the mobile client.","url":"https://insights.sbomify.com/CVE-2018-2491/"}