CVE-2024-45856 MindsDB Cross-site Scripting vulnerability
Attackers can execute arbitrary JavaScript in the MindsDB web UI when users view malicious ML engines, databases, projects, or datasets.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-45856?
CVE-2024-45856 is a critical cross-site scripting vulnerability in mindsdb, published on 12 Sep 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A cross-site scripting (XSS) vulnerability exists in all versions of the MindsDB platform, enabling the execution of a JavaScript payload whenever a user enumerates an ML Engine, database, project, or dataset containing arbitrary JavaScript code within the web UI.
Weakness: CWE-79
Which versions are affected by CVE-2024-45856?
3 open source packages ship an affected version, including mindsdb. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mindsdb PyPI | All versions to 24.9.2.1 | None |
mindsdb PyPI | All versions to 24.9.2.1 | None |
mindsdb PyPI | All versions to 24.9.2.1 | None |
Products include Mindsdb Mindsdb.
How do I fix CVE-2024-45856?
No fix has been published for CVE-2024-45856 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-45856 being exploited?
There is no known exploitation of CVE-2024-45856 in the wild and no public exploit code.
Other vulnerabilities in mindsdb
- CVE-2024-24759 MindsDB Vulnerable to Bypass of SSRF Protection with DNS Rebinding
- CVE-2023-50731 MindsDB has arbitrary file write in file.py
- CVE-2023-38699 MindsDB 'Call to requests with verify=False disabling SSL certificate checks, security issue.' issue
- CVE-2026-27483 MindsDB has Path Traversal in /api/files Leading to Remote Code Execution
- CVE-2024-45846 MindsDB Eval Injection vulnerability
Sources
Also known as GHSA-32fj-r8qw-r8w8, PYSEC-2026-1628.