CVE-2025-5896
tarojs taro index.js redos
- State
- Published
- Severity
- 5.3 Medium
- Published
- Jun 9, 2025
- Updated
- Jun 10, 2025
- Reserved
- Jun 9, 2025
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X | VulDB |
| 3.1 | 4.3 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C | VulDB |
| 3.0 | 4.3 Medium | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C | VulDB |
| 2.0 | 4.0 Medium | AV:N/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
tarotarojs |
|
References
- VDB-311668 | tarojs taro index.js redosvdb-entry
- VDB-311668 | CTI Indicators (IOB, IOC, TTP, IOA)signaturepermissions-required
- Submit #585796 | @tarojs/taro 4.1.1 Inefficient Regular Expression Complexitythird-party-advisory
- https://github.com/NervJS/taro/pull/17619issue-tracking
- https://github.com/NervJS/taro/commit/c2e321a8b6fc873427c466c69f41ed0b5e8814bfpatch
- https://github.com/NervJS/taro/releases/tag/v4.1.2patch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.