CVE-2024-45856 MindsDB Cross-site Scripting vulnerability

Critical 9.0 Published Updated

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.

PackageAffectedFixed in
mindsdb PyPIAll versions to 24.9.2.1None
mindsdb PyPIAll versions to 24.9.2.1None
mindsdb PyPIAll versions to 24.9.2.1None

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.

Sources

Also known as GHSA-32fj-r8qw-r8w8, PYSEC-2026-1628.

Is CVE-2024-45856 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free