Medium severity · published Dec 7, 2023
CVE-2023-6568
Reflected XSS via Content-Type Header in mlflow/mlflow
6.1
CVSS
1.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)1.7% · higher than 77% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ML
mlflow/mlflow · mlflow
before 2.9.0 · source: vendor
ML
Mlflow · Lfprojects
through 2.9.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-6568
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-6568
Patch
https://github.com/mlflow/mlflow/commit/28ff3f94994941e038f2172c6484b65dc4db6ca1
Exploit
https://huntr.com/bounties/816bdaaa-8153-4732-951e-b0d92fddf709
More from mlflow/mlflow
10.0
CVE-2025-15379
Command Injection in mlflow/mlflow
10.0
CVE-2025-15036
Path Traversal Vulnerability in mlflow/mlflow
10.0
CVE-2023-3765
Absolute Path Traversal in mlflow/mlflow
9.8
CVE-2026-0545
Missing Authentication for Critical Function in mlflow/mlflow
9.8
CVE-2023-6975
Path Traversal: '\..\filename'
