CVE-2025-5896 – taro-css-to-react-native
Package
Manager: npm
Name: taro-css-to-react-native
Vulnerable Version: >=0 <4.1.2
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CVSS v4.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
EPSS: 0.00097 pctl0.27724
Details
taro-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.
Metadata
Created: 2025-06-09T21:30:52Z
Modified: 2025-06-09T23:08:45Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-f5xg-cfpj-2mw6/GHSA-f5xg-cfpj-2mw6.json
CWE IDs: ["CWE-1333", "CWE-400"]
Alternative ID: GHSA-f5xg-cfpj-2mw6
Finding: F211
Auto approve: 1