{"id":"CVE-2024-27133","published":"2024-02-23T22:00:33Z","modified":"2024-08-22T18:01:49Z","title":"Insufficient sanitization in MLflow leads to XSS when running a recipe that uses an untrusted dataset.","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00651,"percentile":0.52137,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/mlflow-untrusted-dataset-xss-jfsa-2024-000631932/","tags":[]},{"url":"https://github.com/mlflow/mlflow/pull/10893","tags":[]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":10.43},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":null,"product":null,"versions":["<= 2.9.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-27T15:45:19.756510Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mlflow","vulnerableRanges":["<2.10.0"],"patched":["2.10.0"],"from":["GHSA-3v79-q7ph-j75h","PYSEC-2024-241"],"provenance":"source"}],"summary":{"text":"The flaw is insufficient sanitization of dataset table fields in MLflow's recipes component, which leads to cross-site scripting (XSS) when a recipe that uses an untrusted dataset is run. An attacker who can supply such a dataset can cause script to execute on the client when the recipe runs in Jupyter Notebook, achieving client-side code execution, and this requires a user to run the recipe and a non-trivial attack complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:35Z"},"euvd":{"id":"EUVD-2024-0494","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mlflow-mlflow-cve-2023-6709","parents":[{"from":"CVE-2023-6709","to":"CVE-2024-27133","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["mlflow/recipes/cards/__init__.py"],"commits":["https://github.com/mlflow/mlflow/commit/432b8ccf27fd3a76df4ba79bb1bec62118a85625","https://github.com/mlflow/mlflow/commit/c43823750bffa5b6abcc086683b15a068513b67b","https://github.com/mlflow/mlflow/commit/cfa71879a884cc3520e23ccab998c9aa78fdf2b1"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2024-27133","to":"CVE-2024-4263","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["mlflow/server/auth/__init__.py"],"commits":["https://github.com/mlflow/mlflow/commit/c43823750bffa5b6abcc086683b15a068513b67b","https://github.com/mlflow/mlflow/commit/cfa71879a884cc3520e23ccab998c9aa78fdf2b1","https://github.com/mlflow/mlflow/commit/b43e0e3de5b500554e13dc032ba2083b2d6c94b8"],"basis":"shared function","functions":["_get_proxy_artifact_validator","validate_can_update_experiment_artifact_proxy"]}]}]}}