CVE-2023-6568
MEDIUM 6.1CVSS 3.1Cross-site Scripting (XSS) in MLflow
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.
- Published
- 7 Dec 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-mlflow-2023-6568GHSA-vwhf-3v6x-wff8PYSEC-2023-260
- Sources
- NVDJSONOSV GHSA-vwhf-3v6x-wff8JSONOSV PYSEC-2023-260JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lfprojects | mlflowcpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:* |
<= 2.9.0 | |
| OSV | PyPI | mlflow | < 2.9.0 | 2.9.0 |
| OSV | PyPI | mlflow | < 2.9.1 | 2.9.1 |
References
- https://github.com/mlflow/mlflow/commit/28ff3f94994941e038f2172c6484b65dc4db6ca1 · Patch, WEB, FIX
- https://huntr.com/bounties/816bdaaa-8153-4732-951e-b0d92fddf709 · Exploit, Third Party Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2023-6568 · ADVISORY
- 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
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 7 Dec 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Dec 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Dec 2023)