CVE-2023-6568: Reflected XSS via Content-Type Header in mlflow/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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the vulnerability CVE-2023-6568?
CVE-2023-6568 is a Cross-site Scripting (XSS) vulnerability that exists in the mlflow GitHub repository prior to version 2.9.0.
How does the Cross-site Scripting (XSS) vulnerability CVE-2023-6568 affect mlflow?
The Cross-site Scripting (XSS) vulnerability CVE-2023-6568 affects the mlflow GitHub repository prior to version 2.9.0.
What is the severity of vulnerability CVE-2023-6568?
The severity of vulnerability CVE-2023-6568 is medium with a CVSS score of 6.5.
What is the Common Weakness Enumeration (CWE) ID for vulnerability CVE-2023-6568?
The Common Weakness Enumeration (CWE) ID for vulnerability CVE-2023-6568 is CWE-79.
How can I fix the Cross-site Scripting (XSS) vulnerability CVE-2023-6568 in mlflow?
To fix the Cross-site Scripting (XSS) vulnerability CVE-2023-6568 in mlflow, update the GitHub repository to version 2.9.0 or newer.