GitHub Advisory Database
GHSA-3v79-q7ph-j75h
MLFlow Cross-site Scripting vulnerability leads to client-side Remote Code Execution
Details
Insufficient sanitization in MLflow leads to XSS when running a recipe that uses an untrusted dataset. This issue leads to a client-side RCE when running the recipe in Jupyter Notebook. The vulnerability stems from lack of sanitization over dataset table fields.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | mlflow | All versions before 2.10.0 (fixed in 2.10.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-27133
- https://github.com/mlflow/mlflow/pull/10893
- https://github.com/mlflow/mlflow/commit/c43823750bffa5b6abcc086683b15a068513b67b
- https://github.com/mlflow/mlflow/commit/cfa71879a884cc3520e23ccab998c9aa78fdf2b1
- https://github.com/mlflow/mlflow
- https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2024-241.yaml
- https://research.jfrog.com/vulnerabilities/mlflow-untrusted-dataset-xss-jfsa-2024-000631932