XSS in Lfprojects Mlflow

CVE-2023-6568

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.016 (74.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-6568?
CVE-2023-6568 is a medium-severity vulnerability in Lfprojects Mlflow, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2023-12-07.
How severe is CVE-2023-6568?
Medium severity. CVSS v3 base score is 6.1 out of 10.
Is CVE-2023-6568 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.