Live threats

All CVEs / Webpack.js

CVE-2022-37599Webpack.js Loader-utils

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Oct 11, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Loader-utils.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm loader-utils ≥ 1.0.0 < 1.4.2 1.4.2 npm install loader-utils@1.4.2
npm loader-utils ≥ 2.0.0 < 2.0.4 2.0.4 npm install loader-utils@2.0.4
npm loader-utils ≥ 3.0.0 < 3.2.1 3.2.1 npm install loader-utils@3.2.1

Per OSV / GitHub Advisories (GHSA-hhq3-ff78-jv3g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
webpack.jsloader-utils≥ 1.0.0 < 1.4.2
webpack.jsloader-utils≥ 2.0.0 < 2.0.4
webpack.jsloader-utils≥ 3.0.0 < 3.2.1

Official sources

References

Links published by the sources. Open them with care.