{"schemaVersion":3,"id":"CVE-2024-27132","aliases":["GHSA-6749-m5cp-6cg7","BIT-mlflow-2024-27132","PYSEC-2024-240"],"status":"published","duplicateOf":null,"title":null,"description":"Insufficient sanitization in MLflow leads to XSS when running an untrusted recipe.\n\nThis issue leads to a client-side RCE when running an untrusted recipe in Jupyter Notebook.\n\nThe vulnerability stems from lack of sanitization over template variables.","dates":{"published":"2024-02-23T21:58:59.869Z","modified":"2024-08-14T15:28:19.332Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.6,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":7.2,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00878,"percentile":0.58413,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00878},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00878,"percentile":0.58413}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00878,"percentile":0.58413}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_A4BB1EF0020EE2C5","name":"Exploit Reference (research.jfrog.com)","source":"reference","url":"https://research.jfrog.com/vulnerabilities/mlflow-untrusted-recipe-xss-jfsa-2024-000631930/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"lfprojects","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.9.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.9.2","eol":null,"hubHref":"/vendor/lfprojects/mlflow"},{"vendor":"PyPI","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/mlflow","purlType":"pypi","versions":[{"text":"< 2.10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.10.0","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://research.jfrog.com/vulnerabilities/mlflow-untrusted-recipe-xss-jfsa-2024-000631930/","label":"research.jfrog.com/vulnerabilities/mlflow-untrusted-recipe-xss-jfsa-2024-000631930/","hostname":"research.jfrog.com","tags":["EVIDENCE","WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/mlflow/mlflow/pull/10873","label":"github.com/mlflow/mlflow/pull/10873","hostname":"github.com","tags":["WEB","FIX","REPORT","Issue Tracking","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27132","label":"nvd.nist.gov/vuln/detail/CVE-2024-27132","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/mlflow/mlflow","label":"github.com/mlflow/mlflow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2024-240.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2024-240.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://research.jfrog.com/vulnerabilities/mlflow-untrusted-recipe-xss-jfsa-2024-000631930","label":"research.jfrog.com/vulnerabilities/mlflow-untrusted-recipe-xss-jfsa-2024-000631930","hostname":"research.jfrog.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-6749-m5cp-6cg7","label":"github.com/advisories/GHSA-6749-m5cp-6cg7","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-02-23T21:58:59.869Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-14T15:28:19.332Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T20:19:38.499Z","stale":false,"partial":false}}