Cross-site scriptingin MLflow.
Weaponized: a Nuclei exploit is public.
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.
- Upgrade mlflow/mlflow to 2.9.0 or later.
- Upgrade mlflow (PyPI) to 2.9.0, 2.9.1 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 7 Dec 2023CVE ID reserved by @huntr_ai.
- 7 Dec 2023Published in the CVE List.
- 2 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other MLflow vulnerabilities
Same weakness: Cross-site scripting
Patchminder. CVE-2023-6568: Cross-site scripting in MLflow. https://patchminder.com/cve/cve-2023-6568/ (accessed 5 December 2026).