# CVE-2019-4186: Cross-site scripting in Jazz for Service Management

> Remote attackers can inject HTTP headers via crafted requests, enabling XSS, cache poisoning, or session hijacking in IBM Jazz for Service Management.

- **Severity:** Medium 5.3 (`CVSS:3.0/AC:L/AV:N/UI:N/A:N/I:L/PR:N/C:N/S:U/E:U/RC:C/RL:O`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 5 Sep 2019
- **Updated:** 16 Sep 2024
- **Also known as:** GHSA-9m4g-67v5-8rww

## What is CVE-2019-4186?

CVE-2019-4186 is a medium-severity cross-site scripting vulnerability in IBM Jazz for Service Management, published on 5 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

IBM Jazz for Service Management 1.1.3 is vulnerable to HTTP header injection, caused by incorrect trust in the HTTP Host header during caching. By sending a specially crafted HTTP GET request, a remote attacker could exploit this vulnerability to inject arbitrary HTTP headers, which will allow the attacker to conduct various attacks against the vulnerable system, including cross-site scripting, cache poisoning or session hijacking. IBM X-force ID: 158976.

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

## Which versions are affected by CVE-2019-4186?

It affects 1 product.


Products: Ibm Jazz for Service Management.

## How do I fix CVE-2019-4186?

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

## Is CVE-2019-4186 being exploited?

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

## Other vulnerabilities in IBM Jazz for Service Management

- [CVE-2017-1631](https://insights.sbomify.com/CVE-2017-1631/): Cross-site request forgery in Tivoli Components (high 8.8)
- [CVE-2017-1746](https://insights.sbomify.com/CVE-2017-1746/): Cross-site request forgery in Tivoli Components (high 8.8)
- [CVE-2019-4201](https://insights.sbomify.com/CVE-2019-4201/): Open redirect in Jazz for Service Management (high 7.4)
- [CVE-2021-29831](https://insights.sbomify.com/CVE-2021-29831/): XML external entity in Jazz for Service Management (high 7.1)
- [CVE-2022-35722](https://insights.sbomify.com/CVE-2022-35722/): Cross-site scripting in Jazz for Service Management (medium 6.4)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2019-4186 and fix it if it is affected.

What it is: CVE-2019-4186 is a medium-severity cross-site scripting vulnerability in IBM Jazz for Service Management, published on 5 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2019-4186 in the wild and no public exploit code.

Affected product: IBM Jazz for Service Management. 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-2019-4186/ (Markdown: https://insights.sbomify.com/CVE-2019-4186/index.md)
```

## Sources

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

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