{"id":"CVE-2025-5896","published":"2025-06-09T20:31:07Z","modified":"2025-06-10T15:30:17Z","title":"tarojs taro index.js redos","vendor":"tarojs","product":"taro","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00661,"percentile":0.52568,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://vuldb.com/?id.311668","tags":["vdb-entry"]},{"url":"https://vuldb.com/?ctiid.311668","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.585796","tags":["third-party-advisory"]},{"url":"https://github.com/NervJS/taro/pull/17619","tags":["issue-tracking"]},{"url":"https://github.com/NervJS/taro/commit/c2e321a8b6fc873427c466c69f41ed0b5e8814bf","tags":["patch"]},{"url":"https://github.com/NervJS/taro/releases/tag/v4.1.2","tags":["patch"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":10.51},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"tarojs","affectedVersions":[{"vendor":"tarojs","product":"taro","versions":["4.1.0","4.1.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-10T14:23:00.785444Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"taro-css-to-react-native","vulnerableRanges":["<4.1.2"],"patched":["4.1.2"],"from":["GHSA-f5xg-cfpj-2mw6"],"provenance":"source"}],"summary":{"text":"The flaw is an inefficient regular expression complexity issue (ReDoS) in the Taro framework by tarojs, affecting the index.js file of the css-to-react-native package in versions up to 4.1.1. An attacker with low-privilege authentication can trigger it remotely by manipulating input processed by the affected expression, without any user interaction, causing resource exhaustion that impacts availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:35Z"},"euvd":{"id":"EUVD-2025-17580","exploited":false,"provenance":"source"}}