# CVE-2024-27132: Insufficient sanitization in MLflow leads to XSS when running an untrusted recipe.

- Severity: High 7.5 (CVSS:3.1, scored by JFROG) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.88%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-23T21:58:59.869Z
- Modified: 2026-09-08T08:48:13.624Z
- Also known as: GHSA-6749-m5cp-6cg7, BIT-MLFLOW-2024-27132, PYSEC-2024-240
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: JFROG

## Description

Insufficient sanitization in MLflow leads to XSS when running an untrusted recipe.

This issue leads to a client-side RCE when running an untrusted recipe in Jupyter Notebook.

The vulnerability stems from lack of sanitization over template variables.

(As written by CVE List.)

## Affected

- mlflow: up to 2.9.2
- lfprojects mlflow: up to 2.9.2
- mlflow (PyPI): before 2.10.0
- mlflow (Bitnami): before 2.10.0

## Every score

- JFROG: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://research.jfrog.com/vulnerabilities/mlflow-untrusted-recipe-xss-jfsa-2024-000631930/> (exploit, advisory, evidence, third-party-advisory, web)
- <https://github.com/mlflow/mlflow/pull/10873> (fix, issue-tracking, patch, report, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27132> (advisory, web)
- <https://github.com/mlflow/mlflow> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2024-240.yaml> (web)
- <https://research.jfrog.com/vulnerabilities/mlflow-untrusted-recipe-xss-jfsa-2024-000631930> (web)
- <https://github.com/advisories/GHSA-6749-m5cp-6cg7> (advisory, web)

## Sources

- CVE List: [CVE-2024-27132](https://www.cve.org/CVERecord?id=CVE-2024-27132), CVE Terms of Use, modified 2024-08-14
- GitHub Advisory Database: [GHSA-6749-m5cp-6cg7](https://github.com/advisories/GHSA-6749-m5cp-6cg7), CC-BY-4.0, modified 2025-04-08
- NVD: [CVE-2024-27132](https://nvd.nist.gov/vuln/detail/CVE-2024-27132), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-240](https://osv.dev/vulnerability/PYSEC-2024-240), CC-BY-4.0, modified 2026-06-10
- Bitnami Vulnerability Database: [BIT-MLFLOW-2024-27132](https://osv.dev/vulnerability/BIT-MLFLOW-2024-27132), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-27132 · Whole record: https://cve.day/CVE-2024-27132.json · Rebuilt by cve.day 2026-11-25T22:58:37.035Z
