CVE-2025-5896
Taro 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.
Affected products
Taro. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Taro runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/NervJS/taro/commit/c2e321a8b6fc873427c466c69f41ed0b5e8814bf · Patch
- github.com/NervJS/taro/pull/17619 · Exploit
- vuldb.com/?id.311668 · Third Party Advisory
- vuldb.com/?submit.585796 · Third Party Advisory
- github.com/NervJS/taro/releases/tag/v4.1.2
- vuldb.com/?ctiid.311668
- nvd.nist.gov/vuln/detail/CVE-2025-5896
- github.com/advisories/GHSA-f5xg-cfpj-2mw6
- nvd.nist.gov/vuln/detail/CVE-2025-5896
- cve.org/CVERecord?id=CVE-2025-5896
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.