taro-css-to-react-native@1.3.24 vulnerabilities

Convert CSS text to a React Native stylesheet object

  • latest version

    4.1.3

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    5 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the taro-css-to-react-native package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Regular Expression Denial of Service (ReDoS)

    taro-css-to-react-native is a Convert CSS text to a React Native stylesheet object

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to the function transform in the index.js file and the function remToPx in the rem.js file. An attacker can send crafted inputs that trigger inefficient regular expression complexity.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade taro-css-to-react-native to version 4.1.0-alpha.3 or higher.

    <4.1.0-alpha.3