CVE-2025-5895 Metabase dom.js parseDataUri redos

Medium 5.3 Published Updated

Remote attackers can cause denial of service in Metabase via inefficient regular expression complexity in the parseDataUri function.

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-2025-5895?

CVE-2025-5895 is a medium-severity denial of service vulnerability in Metabase, published on 9 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in Metabase 54.10. It has been classified as problematic. This affects the function parseDataUri of the file frontend/src/metabase/lib/dom.js. The manipulation leads to inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The patch is named 4454ebbdc7719016bf80ca0f34859ce5cee9f6b0. It is recommended to apply a patch to fix this issue.

Weakness: CWE-400, CWE-1333

Which versions are affected by CVE-2025-5895?

It affects 1 product.

Products include Metabase Metabase.

How do I fix CVE-2025-5895?

No fix has been published for CVE-2025-5895 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-5895 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5895 exists.

Sources

Also known as GHSA-94cm-j3mf-q873.

Is CVE-2025-5895 in your software?

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

Check your SBOMs for free