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)
EPSS: 0.005 (40.4th percentile) — read the EPSS interpretation.
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.
Affected products
- Taro
- Tarojs Taro — versions 4.1.0, 4.1.1
Weakness classification (CWE)
References
- cna@vuldb.com (VDB Entry, Third Party Advisory, vdb-entry)
- cna@vuldb.com (signature, Permissions Required, permissions-required, VDB Entry)
- cna@vuldb.com (VDB Entry, Third Party Advisory, third-party-advisory)
- cna@vuldb.com (issue-tracking, Exploit, Patch, Issue Tracking)
- cna@vuldb.com (Patch, patch)
- cna@vuldb.com (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.