# CVE-2020-7753: Regular Expression Denial of Service (ReDoS)

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/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): 3.78%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-10-27T08:15:15.542Z
- Modified: 2026-06-17T03:25:23.103Z
- Also known as: GHSA-w5p7-h5w8-2hfq
- Weaknesses: CWE-400
- Assigned by: snyk

## Description

All versions of package trim are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().

(As written by CVE List.)

## Affected

- trim: before unspecified
- trim (npm): before 0.0.3
- trim_project trim: no versions given

## Every score

- snyk: 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`
- GitHub: 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: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 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-TRIM-1017038> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1022132> (exploit, third-party-advisory, web)
- <https://github.com/component/trim/blob/master/index.js%23L6> (broken-link, third-party-advisory, web)
- <https://lists.apache.org/thread.html/r75b8d0b88833d7d96afcdce3ead65e212572ead4e7a9f34d21040196%40%3Ccommits.airflow.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r10faad1ef9166d37a1a5c9142b1af7099b8ecdc5ad05c51b8ea993d9%40%3Ccommits.airflow.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r51ff3c2a4c7b8402f321eae7e624672cc2295c7bc8c12c8b871f6b0b%40%3Ccommits.airflow.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rb8462df3b6484e778905c09cd49a8912e1a302659860017ebe36da03%40%3Ccommits.airflow.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rcc7c2865a52b544a8e49386c6880e9b9ab29bfce1052b5569d09ee4a%40%3Ccommits.airflow.apache.org%3E> (mailing-list)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7753> (advisory)
- <https://github.com/component/trim/pull/8> (web)
- <https://github.com/component/trim> (web)
- <https://github.com/component/trim/blob/master/index.js> (web)
- <https://lists.apache.org/thread.html/r10faad1ef9166d37a1a5c9142b1af7099b8ecdc5ad05c51b8ea993d9@%3Ccommits.airflow.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r51ff3c2a4c7b8402f321eae7e624672cc2295c7bc8c12c8b871f6b0b@%3Ccommits.airflow.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r75b8d0b88833d7d96afcdce3ead65e212572ead4e7a9f34d21040196@%3Ccommits.airflow.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rb8462df3b6484e778905c09cd49a8912e1a302659860017ebe36da03@%3Ccommits.airflow.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rcc7c2865a52b544a8e49386c6880e9b9ab29bfce1052b5569d09ee4a@%3Ccommits.airflow.apache.org%3E> (web)

## Sources

- CVE List: [CVE-2020-7753](https://www.cve.org/CVERecord?id=CVE-2020-7753), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-w5p7-h5w8-2hfq](https://github.com/advisories/GHSA-w5p7-h5w8-2hfq), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-7753](https://nvd.nist.gov/vuln/detail/CVE-2020-7753), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7753 · Whole record: https://cve.day/CVE-2020-7753.json · Rebuilt by cve.day 2026-11-25T22:57:55.469Z
