patchminder
Weaponized · Nuclei CVE-2023-6568

Cross-site scriptingin MLflow.

Published 7 Dec 2023 · Updated 2 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Nuclei exploit is public.

Attack code is public
Severity
Medium 6.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.6% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 2.9.0, 2.9.1
In plain words

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.

What to do now
  • 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.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
mlflow/mlflow
before 2.9.0
2.9.0
CVE record
mlflow (PyPI)
before 2.9.0
2.9.0
GitHub advisory
mlflow (PyPI)
before 2.9.1
2.9.1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 7 Dec 2023
    CVE ID reserved by @huntr_ai.
  2. 7 Dec 2023
    Published in the CVE List.
  3. 2 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Nuclei).

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
None known
NucleiMlflow · Cross-Site Scriptingdetection template

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.

Related

Other MLflow vulnerabilities

Same weakness: Cross-site scripting

All CWE-79 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-6568: Cross-site scripting in MLflow. https://patchminder.com/cve/cve-2023-6568/ (accessed 5 December 2026).