Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. taro-css-to-react-native
  4. ›
  5. CVE-2025-5896

CVE-2025-5896: taro-css-to-react-native Regular Expression Denial of Service vulnerability

June 9, 2025

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.

References

  • github.com/NervJS/taro
  • github.com/NervJS/taro/commit/c2e321a8b6fc873427c466c69f41ed0b5e8814bf
  • github.com/NervJS/taro/pull/17619
  • github.com/NervJS/taro/releases/tag/v4.1.2
  • github.com/advisories/GHSA-f5xg-cfpj-2mw6
  • nvd.nist.gov/vuln/detail/CVE-2025-5896
  • vuldb.com/?ctiid.311668
  • vuldb.com/?id.311668
  • vuldb.com/?submit.585796

Code Behaviors & Features

Detect and mitigate CVE-2025-5896 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.2

Fixed versions

  • 4.1.2

Solution

Upgrade to version 4.1.2 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/taro-css-to-react-native/CVE-2025-5896.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:34 +0000.