CVE-2025-5896
published medium CVSS 4.0 · 5.3tarojs taro index.js redos
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tarojs | — | taro4.1.0 · 4.1.1 | Affected | Not stated | VulDB |
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.
In tarojs taro bis 4.1.1 wurde eine Schwachstelle ausgemacht. Sie wurde als problematisch eingestuft. Dabei geht es um eine nicht genauer bekannte Funktion der Datei taro/packages/css-to-react-native/src/index.js. Mittels dem Manipulieren mit unbekannten Daten kann eine inefficient regular expression complexity-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs kann dabei über das Netzwerk erfolgen. Ein Aktualisieren auf die Version 4.1.2 vermag dieses Problem zu lösen. Der Patch wird als c2e321a8b6fc873427c466c69f41ed0b5e8814bf bezeichnet. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 4.3 | medium | VulDB · cna | 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 | — |
| 2.0 | 4.0 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tarojs | taro | 4.1.0 (affected)4.1.1 (affected) | VulDB · cna |
Weaknesses
2- CWE-1333 Inefficient Regular Expression Complexity
- CWE-400 Resource Consumption
References
6- https://github.com/NervJS/taro/commit/c2e321a8b6fc873427c466c69f41ed0b5e8814bf
- https://github.com/NervJS/taro/pull/17619
- https://github.com/NervJS/taro/releases/tag/v4.1.2
- VDB-311668 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/?ctiid.311668
- VDB-311668 | tarojs taro index.js redos https://vuldb.com/?id.311668
- Submit #585796 | @tarojs/taro 4.1.1 Inefficient Regular Expression Complexity https://vuldb.com/?submit.585796
Provider assertions
2VulDB · cna
tarojs taro index.js redos
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 56d64b7d3e8926f604ce5df93475ac7a809b5d7579b581030766b0e9e827720d
- Ingested
- 23 Sep 2026, 08:54:47 UTC
- Source record
- Official CVE record