# CVE-2020-4317: Cross-site scripting in Intelligent Operations Center

> Attackers can inject JavaScript into the Web UI to steal credentials from trusted sessions in IBM Operations Center products.

- **Severity:** Medium 5.4 (`CVSS:3.0/I:L/UI:R/AV:N/A:N/C:L/AC:L/PR:L/S:C/RC:C/RL:O/E:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** No
- **Published:** 28 Jul 2020
- **Updated:** 16 Sep 2024
- **Also known as:** GHSA-849g-hq59-rhj8

## What is CVE-2020-4317?

CVE-2020-4317 is a medium-severity cross-site scripting vulnerability in IBM Intelligent Operations Center, published on 28 Jul 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

### Official description

IBM Intelligent Operations Center for Emergency Management, Intelligent Operations Center (IOC), and IBM Water Operations for Waternamics are vulnerable to cross-site scripting. This vulnerability allows users to embed arbitrary JavaScript code in the Web UI thus altering the intended functionality potentially leading to credentials disclosure within a trusted session. IBM X-Force ID: 177355.

Weakness: CWE-79 (Improper Neutralization of Input During Web Page Generation)

## Which versions are affected by CVE-2020-4317?

It affects 3 products.


Products: Ibm Intelligent Operations Center, Ibm Intelligent Operations Center for Emergency Management, Ibm Water Operations for Waternamics.

## How do I fix CVE-2020-4317?

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

## Is CVE-2020-4317 being exploited?

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

## Other vulnerabilities in IBM Intelligent Operations Center

- [CVE-2019-4066](https://insights.sbomify.com/CVE-2019-4066/): Privilege escalation in Intelligent Operations Center (high 8.8)
- [CVE-2019-4069](https://insights.sbomify.com/CVE-2019-4069/): File upload in Intelligent Operations Center (high 8.0)
- [CVE-2019-4419](https://insights.sbomify.com/CVE-2019-4419/): XML external entity in Intelligent Operations Center (high 7.1)
- [CVE-2019-4420](https://insights.sbomify.com/CVE-2019-4420/): Information disclosure in Intelligent Operations Center (medium 6.2)
- [CVE-2019-4321](https://insights.sbomify.com/CVE-2019-4321/): Weak cryptography in Intelligent Operations Center (medium 5.9)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2020-4317 and fix it if it is affected.

What it is: CVE-2020-4317 is a medium-severity cross-site scripting vulnerability in IBM Intelligent Operations Center, published on 28 Jul 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2020-4317 in the wild and no public exploit code.

Affected product: IBM Intelligent Operations Center. 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-2020-4317/ (Markdown: https://insights.sbomify.com/CVE-2020-4317/index.md)
```

## Sources

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

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