CVE-2024-29890 Remote code execution in datalens-ui

High 8.8 Published Updated

Attackers can execute arbitrary JavaScript via crafted chart requests, leading to remote code execution in DataLens.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-29890?

CVE-2024-29890 is a high-severity cross-site scripting vulnerability in datalens-tech datalens, published on 29 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

DataLens is a business intelligence and data visualization system. A specifically crafted request allowed the creation of a special chart type with the ability to pass custom javascript code that would later be executed in an unprotected sandbox on subsequent requests to that chart. The problem was fixed in the datalens-ui version `0.1449.0`. Restricting access to the API for creating or modifying charts (`/charts/api/charts/v1/`) would mitigate the issue.

Weakness: CWE-79

Which versions are affected by CVE-2024-29890?

How do I fix CVE-2024-29890?

No fix has been published for CVE-2024-29890 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-29890 being exploited?

There is no known exploitation of CVE-2024-29890 in the wild and no public exploit code.

Sources

Is CVE-2024-29890 in your software?

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

Check your SBOMs for free