CVE-2025-5895 Metabase dom.js parseDataUri redos
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.
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.
Other vulnerabilities in Metabase
- CVE-2026-72898 Metabase SQL Injection
- CVE-2021-41277 Metabase GeoJSON API Local File Inclusion
- CVE-2026-50148 Metabase: Remote Code Execution via Snowflake JDBC Driver Arbitrary File Write
- CVE-2023-37470 Metabase vulnerable to remote code execution via POST /api/setup/validate API endpoint
- CVE-2026-59827 Metabase: Unsafe Deserialization of H2 Query Results
Sources
Also known as GHSA-94cm-j3mf-q873.