CVE-2025-5896
MEDIUM 5.3CVSS 4.0taro-css-to-react-native Regular Expression Denial of Service vulnerability
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.
- Published
- 9 Jun 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Analyzed
- Weakness
- CWE-1333CWE-400
- Also known as
- GHSA-f5xg-cfpj-2mw6
- Sources
- NVDJSONOSV GHSA-f5xg-cfpj-2mw6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | taro | tarocpe:2.3:a:taro:taro:*:*:*:*:*:node.js:*:* |
< 4.1.2 | 4.1.2 |
| OSV | npm | taro-css-to-react-native | < 4.1.2 | 4.1.2 |
References
- https://github.com/NervJS/taro/commit/c2e321a8b6fc873427c466c69f41ed0b5e8814bf · Patch, WEB
- https://github.com/NervJS/taro/pull/17619 · Exploit, Issue Tracking, Patch, WEB
- https://github.com/NervJS/taro/releases/tag/v4.1.2 · Release Notes, WEB
- https://vuldb.com/?ctiid.311668 · Permissions Required, VDB Entry, WEB
- https://vuldb.com/?id.311668 · Third Party Advisory, VDB Entry, WEB
- https://vuldb.com/?submit.585796 · Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-5896 · ADVISORY
- https://github.com/NervJS/taro · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 9 Jun 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Jun 2025)