# CVE-2022-37599: loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS)

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `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): 2.76%, higher than 86% of CVEs (2026-12-01)
- Published: 2022-10-11T00:00:00.000Z
- Modified: 2026-06-17T04:55:08.313Z
- Also known as: GHSA-hhq3-ff78-jv3g
- Weaknesses: CWE-400, CWE-1333
- Assigned by: mitre

## Description

A Regular expression denial of service (ReDoS) flaw was found in Function interpolateName in interpolateName.js in webpack loader-utils 2.0.0 via the resourcePath variable in interpolateName.js.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- loader-utils (npm): from 1.0.0 before 1.4.2; from 2.0.0 before 2.0.4; from 3.0.0 before 3.2.1
- webpack.js loader-utils: from 1.0.0 before 1.4.2; from 2.0.0 before 2.0.4; from 3.0.0 before 3.2.1

## Every score

- 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`

## References

- <https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L38> (third-party-advisory, web)
- <https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L83> (third-party-advisory, web)
- <https://github.com/webpack/loader-utils/issues/211> (issue-tracking, third-party-advisory, web)
- <https://github.com/webpack/loader-utils/issues/216> (issue-tracking, patch, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HUE6ZR5SL73KHL7XUPAOEL6SB7HUDT2/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ/>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-37599> (advisory)
- <https://github.com/webpack/loader-utils/commit/17cbf8fa8989c1cb45bdd2997aa524729475f1fa> (web)
- <https://github.com/webpack/loader-utils/commit/ac09944dfacd7c4497ef692894b09e63e09a5eeb> (web)
- <https://github.com/webpack/loader-utils/commit/d2d752d59629daee38f34b24307221349c490eb1> (web)
- <https://github.com/webpack/loader-utils> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HUE6ZR5SL73KHL7XUPAOEL6SB7HUDT2> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ> (web)

## Sources

- CVE List: [CVE-2022-37599](https://www.cve.org/CVERecord?id=CVE-2022-37599), CVE Terms of Use, modified 2025-11-04
- GitHub Advisory Database: [GHSA-hhq3-ff78-jv3g](https://github.com/advisories/GHSA-hhq3-ff78-jv3g), CC-BY-4.0, modified 2025-11-04
- NVD: [CVE-2022-37599](https://nvd.nist.gov/vuln/detail/CVE-2022-37599), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-37599 · Whole record: https://cve.day/CVE-2022-37599.json · Rebuilt by cve.day 2026-11-25T22:58:15.539Z
