npm package

loader-utils 3.1.1 vulnerabilities, and the version that fixes all of them

loader-utils 3.1.1 has 2 known vulnerabilities (2 rated high or critical); 3.2.1 fixes all of them.

npm (opens in a new tab) describes it as “utils for webpack loaders”

Known vulnerabilities
2
2 rated high or critical
Released
Nov 4, 2021
Latest is 3.3.1
Downloads last week
24
Under 1% of loader-utils downloads
Licence
MIT
Pulls in
1 package
Resolved by deps.dev

What to upgrade to

3.2.1 is the closest release with no known vulnerabilities.

  • 3.2.1Upgrade to this

    Fixes all 2 known vulnerabilities. Released Nov 11, 2022.

    No known vulnerabilities
  • 3.3.1

    Newest 3.x release and the latest release. Released Jun 5, 2024.

    No known vulnerabilities

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for loader-utils 3.1.1

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. CriticalCVE-2022-37599 on OSV.dev (opens in a new tab)GHSA-hhq3-ff78-jv3gEPSS: top 14%

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

    Fixed in 3.2.1. Published Oct 12, 2022.

  2. CriticalCVE-2022-37603 on OSV.dev (opens in a new tab)GHSA-3rfm-jhwj-7488EPSS: top 15%

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

    Fixed in 3.2.1. Published Oct 14, 2022.

Who is still on a vulnerable loader-utils

18% of last week’s 55.4M loader-utils downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Is loader-utils the only one?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly loader-utils 3.1.1, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.