CVE-2025-5896

Source
https://cve.org/CVERecord?id=CVE-2025-5896
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-5896.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-5896
Aliases
Published
2025-06-09T20:31:07Z
Modified
2026-10-22T10:33:45Z
Severity
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X CVSS Calculator
Summary
tarojs taro index.js redos
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.

Database specific
{
    "cna_assigner": "VulDB",
    "cwe_ids": [
        "CWE-1333",
        "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5896.json"
}
References

Affected packages

Git / github.com/nervjs/taro

Affected ranges

Type
GIT
Repo
https://github.com/nervjs/taro
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "4.1.0"
                },
                {
                    "last_affected": "4.1.0"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
        },
        {
            "range": [
                {
                    "introduced": "4.1.1"
                },
                {
                    "last_affected": "4.1.1"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
        },
        {
            "range": [
                {
                    "fixed": "c2e321a8b6fc873427c466c69f41ed0b5e8814bf"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "v4.1.2",
            "range": [
                {
                    "fixed": "0997d9e2bf9748f931b99e3caaedae06d940c49e"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

4.*
4.1.0
4.1.1
v4.*
v4.1.0
v4.1.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-5896.json"