MLFlow Cross-site Scripting vulnerability leads to client-side Remote Code Execution
CVE-2024-27133 · GHSA-3v79-q7ph-j75h · published 2024-02-24 · updated 2026-03-15
- Severity
- Critical
- CVSS score
- 9.6
- Chance of exploitation (EPSS)
- 0.65%
- Fixed in
- 2.10.0
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
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.
Upgrade mlflow to 2.10.0 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| mlflow | PyPI | < 2.10.0 | 2.10.0 |
- CriticalJupyter Server: Stored XSS in `NbconvertFileHandler` / `NbconvertPostHandler` via missing `sandbox` CSPjupyter-server
- CriticalMalicious website can execute commands on the local system through XSS in the OpenCode web UIopencode-ai
- CriticalFlowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panelflowise
- HighPraisonAI: Prompt Injection Defense Bypassed for HIGH-Level Threatspraisonai
- HighAny authenticated user can steal another user's session token via script embedded in a DOCX previewopen-webui
- HighViewer session token theft via a script link in a shared chat's citationopen-webui
- CriticalMLflow: Unauthenticated full-read SSRF in webhook delivery: _validate_webhook_url bypassed via unvalidated HTTP redirects (and DNS rebindingmlflowExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalMLflow: Environment variable injection in AI Gateway secrets enables server-side credential exfiltrationmlflow
- CriticalMLflow allows unauthorized access to multipart upload endpoints when the `--serve-artifacts` mode is enabledmlflow
- CriticalMLflow: Improper Origin Validation in MLflow Assistant /ajax-api Endpoints Enables Browser-Mediated Local Command Executionmlflow
- Criticalmlflow: FastAPI job endpoints under `/ajax-api/3.0/jobs/*` are not protected by authentication or authorizationmlflow
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.