Reflected XSS via Content-Type Header in mlflow/mlflow
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MLflow | mlflow/mlflow | before 2.9.0 | 2.9.0 | Patch available | CNA |
| — | mlflow (PyPI) | before 2.9.0 | 2.9.0 | Patch available | GHSA-vwhf-3v6x-wff8 |
- mlflow/mlflow VendorMLflow Affected before 2.9.0 Fixed in 2.9.0 Patch available CNA
- mlflow (PyPI) Vendor— Affected before 2.9.0 Fixed in 2.9.0 Patch available GHSA-vwhf-3v6x-wff8
Remediation
- Fix · CNA mlflow/mlflow (mlflow) Fixed in 2.9.0
- Fix · GHSA-vwhf-3v6x-wff8 mlflow (PyPI) Fixed in 2.9.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-6568
- 2026-10-03 Alias added: GHSA-vwhf-3v6x-wff8
References
More Mlflow vulnerabilities
- TI-2026-46366 Server-side request forgery in mlflow KEVCVSS 3.1CRITICAL 9.3
- TI-2023-03518 Absolute Path Traversal in mlflow/mlflow CVSS 3.1CRITICAL 10.0
- TI-2023-01113 Path Traversal: '\..\filename' in mlflow/mlflow CVSS 3.1CRITICAL 9.8
- TI-2025-14028 Command Injection in mlflow/mlflow CVSS 3.1CRITICAL 10.0
- TI-2023-05540 MLflow Authentication Bypass CVSS 3.1CRITICAL 9.8
- TI-2023-02603 Path Traversal: '\..\filename' in mlflow/mlflow CVSS 3.1CRITICAL 9.8
Sources
- CVE-2023-6568 · CVE Program
- CVE-2023-6568 · NVD
- FIRST EPSS
- GHSA-vwhf-3v6x-wff8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences