# CVE-2023-6568: Reflected XSS via Content-Type Header in mlflow/mlflow

- Severity: Medium 6.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.65%, higher than 77% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-12-07T04:54:10.377Z
- Modified: 2026-09-08T08:48:13.629Z
- Also known as: GHSA-vwhf-3v6x-wff8, BIT-MLFLOW-2023-6568, PYSEC-2023-260
- Weaknesses: CWE-79
- Assigned by: @huntr_ai

## Description

A reflected Cross-Site Scripting (XSS) vulnerability exists in the mlflow/mlflow repository, specifically within the handling of the Content-Type header in POST requests. An attacker can inject malicious JavaScript code into the Content-Type header, which is then improperly reflected back to the user without adequate sanitization or escaping, leading to arbitrary JavaScript execution in the context of the victim's browser. The vulnerability is present in the mlflow/server/auth/__init__.py file, where the user-supplied Content-Type header is directly injected into a Python formatted string and returned to the user, facilitating the XSS attack.

(As written by CVE List.)

## Affected

- mlflow mlflow/mlflow: from unspecified before 2.9.0
- mlflow (PyPI): before 2.9.0; before 28ff3f94994941e038f2172c6484b65dc4db6ca1; before 2.9.1
- lfprojects mlflow: up to 2.9.0
- mlflow (Bitnami): before 2.9.1

## Every score

- @huntr_ai: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://huntr.com/bounties/816bdaaa-8153-4732-951e-b0d92fddf709> (exploit, advisory, evidence, third-party-advisory, web)
- <https://github.com/mlflow/mlflow/commit/28ff3f94994941e038f2172c6484b65dc4db6ca1> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-6568> (advisory, web)
- <https://github.com/mlflow/mlflow> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2023-260.yaml> (web)
- <https://github.com/advisories/GHSA-vwhf-3v6x-wff8> (advisory)

## Sources

- CVE List: [CVE-2023-6568](https://www.cve.org/CVERecord?id=CVE-2023-6568), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-vwhf-3v6x-wff8](https://github.com/advisories/GHSA-vwhf-3v6x-wff8), CC-BY-4.0, modified 2024-04-16
- NVD: [CVE-2023-6568](https://nvd.nist.gov/vuln/detail/CVE-2023-6568), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-260](https://osv.dev/vulnerability/PYSEC-2023-260), CC-BY-4.0, modified 2026-06-10
- Bitnami Vulnerability Database: [BIT-MLFLOW-2023-6568](https://osv.dev/vulnerability/BIT-MLFLOW-2023-6568), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-6568 · Whole record: https://cve.day/CVE-2023-6568.json · Rebuilt by cve.day 2026-11-25T22:58:31.093Z
