Advisory

GHSA-f5xg-cfpj-2mw6

Also known as: CVE-2025-5896

Summary

taro-css-to-react-native Regular Expression Denial of Service vulnerability

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-06-09 21:30 UTC
Modified
2025-06-09 23:57 UTC

Affected packages and fixes

taro-css-to-react-native

npm · All systems

Affected

  • introduced 0, fixed 4.1.2 (semver)

Fixed versions

4.1.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences