GHSA-hhq3-ff78-jv3gHighCVSS 7.5

loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS)

Published
October 12, 2022
Last Modified
November 4, 2025

🔗 CVE IDs covered (1)

📋 Description

A regular expression denial of service (ReDoS) flaw was found in Function interpolateName in interpolateName.js in webpack loader-utils via the resourcePath variable in interpolateName.js. A badly or maliciously formed string could be used to send crafted requests that cause a system to crash or take a disproportional amount of time to process. This issue has been patched in versions 1.4.2, 2.0.4 and 3.2.1.

🎯 Affected products3

  • npm/loader-utils:>= 1.0.0, < 1.4.2
  • npm/loader-utils:>= 2.0.0, < 2.0.4
  • npm/loader-utils:>= 3.0.0, < 3.2.1

🔗 References (12)