# CVE-2021-3804: Inefficient Regular Expression Complexity in nervjs/taro

- Severity: High 7.5 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.26%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-17T06:15:21.000Z
- Modified: 2026-06-17T04:05:48.017Z
- Also known as: GHSA-468q-v4jj-485h
- Weaknesses: CWE-1333
- Assigned by: @huntrdev

## Description

taro is vulnerable to Inefficient Regular Expression Complexity

(As written by CVE List.)

## Affected

- nervjs nervjs/taro: from unspecified up to 3.3.8
- @tarojs/helper (npm): before 3.3.9
- taro taro: before 3.3.9

## Every score

- @huntrdev: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 7.8 High `AV:N/AC:L/Au:N/C:N/I:N/A:C`

## References

- <https://huntr.dev/bounties/0ebe85e6-cc85-42b8-957e-18d8df277414> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/nervjs/taro/commit/acadb6c826ba57f2030a626f1de4f7b4608fcdb5> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3804> (advisory)
- <https://github.com/nervjs/taro> (package)

## Sources

- CVE List: [CVE-2021-3804](https://www.cve.org/CVERecord?id=CVE-2021-3804), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-468q-v4jj-485h](https://github.com/advisories/GHSA-468q-v4jj-485h), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-3804](https://nvd.nist.gov/vuln/detail/CVE-2021-3804), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3804 · Whole record: https://cve.day/CVE-2021-3804.json · Rebuilt by cve.day 2026-11-25T22:58:04.026Z
