CVE-2025-5896 json
tarojs taro index.js redos
published 2025-06-09 17 mo ago modified 2026-06-17 4 mo ago also GHSA-f5xg-cfpj-2mw6 , EUVD-2025-17580
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm taro-css-to-react-native 4.1.2
- taro taro 4.1.2
- github.com/NervJS/taro@c2e321a commit
- github.com/NervJS/taro#17619 pull request
- github.com/NervJS/taro/releases/tag/v4.1.2 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 16 mo ago
Exploit prediction
0.66% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/NervJS/taro/pull/17619 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 3.1 | 4.3 | 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 |
| CNA | 3.0 | 4.3 | 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 |
| CNA | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C |
| CNA | 4.0 | 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 |
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | taro-css-to-react-native | <4.1.2 |
4.1.2 |
Affected products
- tarojs taro
Classification
References
-
github.com
/NervJS/taro/pull/17619
issue-tracking, exploit, web, patch
-
github.com
/NervJS/taro/commit/c2e321a8b6fc873427c466c69f41ed0b5e8814bf
patch, web
-
github.com
/NervJS/taro/releases/tag/v4.1.2
patch, web, release-notes
-
vuldb.com
/?id.311668
vdb-entry, web, third-party-advisory
-
vuldb.com
/?ctiid.311668
signature, permissions-required, web, vdb-entry
-
vuldb.com
/?submit.585796
third-party-advisory, web, vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2025-5896
advisory
-
github.com
/NervJS/taro
package
Sources
- CVE List CVE-2025-5896
- GitHub Advisory GHSA-f5xg-cfpj-2mw6
- NVD CVE-2025-5896
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.