Resource exhaustion in Taro
CVE-2025-5896
A vulnerability was found in tarojs taro up to 4.1.1. It has been declared as problematic. This vulnerability affects unknown code of the file taro/packages/css-to-react-native/src/index.js. The manipulation leads to inefficient regular expression complexity. The attack can be initiated remotely. Upgrading to version 4.1.2 is able to address this issue. The name of the patch is c2e321a8b6fc873427c466c69f41ed0b5e8814bf. It is recommended to upgrade the affected component.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.006 (46.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 47th percentile — 46.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: +0.000
Affected products
- Taro
- Tarojs Taro — versions 4.1.0, 4.1.1
Weakness classification (CWE)
References
- vuldb.com/ (VDB Entry, Third Party Advisory, vdb-entry)
- vuldb.com/ (signature, Permissions Required, permissions-required, VDB Entry)
- vuldb.com/ (VDB Entry, Third Party Advisory, third-party-advisory)
- github.com/NervJS/taro/pull/17619 (issue-tracking, Exploit, Patch, Issue Tracking)
- github.com/NervJS/taro/commit/c2e321a8b6fc873427c466c69f41ed0b5e8814bf (Patch, patch)
- github.com/NervJS/taro/releases/tag/v4.1.2 (Release Notes, patch)
Frequently asked questions
- What is CVE-2025-5896?
- CVE-2025-5896 is a medium-severity vulnerability in Taro, classified under Uncontrolled Resource Consumption. CVSS score: 4.3/10. Published 2025-06-09.
- How severe is CVE-2025-5896?
- Medium severity. CVSS v3 base score is 4.3 out of 10.