# CVE-2018-2485: It is possible for a malicious application or malware to execute JavaScript in a SAP Fiori application.


- **Severity:** High 7.7 (`CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`)
- **Exploited in the wild:** Not known
- **Fix available:** No
- **Published:** 13 Nov 2018
- **Updated:** 5 Aug 2024
- **Also known as:** GHSA-gv8x-5q42-g72w

## What is CVE-2018-2485?

CVE-2018-2485 is a high-severity vulnerability in SAP Fiori Client, published on 13 Nov 2018. 

### Official description

It is possible for a malicious application or malware to execute JavaScript in a SAP Fiori application. This can include reading and writing of information and calling device specific JavaScript APIs in the application. SAP Fiori Client version 1.11.5 in Google Play store addresses these issues and users must update to that version.

## Which versions are affected by CVE-2018-2485?

It affects 1 product.


Products: Sap Fiori Client.

## How do I fix CVE-2018-2485?

No fix has been published for CVE-2018-2485 yet. Limit exposure of the affected software until one is available.

## Is CVE-2018-2485 being exploited?

There is no known exploitation of CVE-2018-2485 in the wild and no public exploit code.

## Other vulnerabilities in SAP Fiori Client

- [CVE-2018-2488](https://insights.sbomify.com/CVE-2018-2488/): Denial of service in SAP Fiori Client (high 7.8)
- [CVE-2018-2489](https://insights.sbomify.com/CVE-2018-2489/): Missing authorization in SAP Fiori Client (high 7.8)
- [CVE-2018-2490](https://insights.sbomify.com/CVE-2018-2490/): Missing authorization in SAP Fiori Client (high 7.8)
- [CVE-2018-2491](https://insights.sbomify.com/CVE-2018-2491/): Cross-site scripting in SAP Fiori Client (high 7.8)
- [CVE-2021-33699](https://insights.sbomify.com/CVE-2021-33699/): Security feature bypass in SAP Fiori Client Native Mobile for Android (high 7.6)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2018-2485 and fix it if it is affected.

What it is: CVE-2018-2485 is a high-severity vulnerability in SAP Fiori Client, published on 13 Nov 2018. 
Exploitation: There is no known exploitation of CVE-2018-2485 in the wild and no public exploit code.

Affected product: SAP Fiori Client. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. 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.
2. 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.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2018-2485/ (Markdown: https://insights.sbomify.com/CVE-2018-2485/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2018-2485
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2018-2485
- OSV: https://osv.dev/vulnerability/CVE-2018-2485

---
From sbomify Insights: https://insights.sbomify.com/CVE-2018-2485/
Summaries are generated and may contain mistakes; the official description above is the record.
