fix(deps): resolve high severity audit vulnerabilities#16104
Merged
DanRibbens merged 1 commit intomainfrom Mar 30, 2026
Merged
Conversation
Contributor
📦 esbuild Bundle Analysis for payloadThis analysis was generated by esbuild-bundle-analyzer. 🤖 |
DanRibbens
approved these changes
Mar 30, 2026
Contributor
|
🚀 This is included in version v3.81.0 |
milamer
pushed a commit
to milamer/payload
that referenced
this pull request
Apr 20, 2026
) # Overview Fixes high-severity vulnerabilities reported by `pnpm audit --prod`. ## Key Changes - **@eslint-react/eslint-plugin 1.31.0 → 1.53.1 in packages/eslint-config** - Direct minor bump. Eliminates the transitive `picomatch` 4.x dependency since 1.47.0+ replaced it with other packages. - **Lockfile updates for happy-dom, picomatch, and path-to-regexp** - [GHSA-6q6h-j7hj-3r64](GHSA-6q6h-j7hj-3r64) (CVE-2026-33943) — happy-dom code injection via unsanitized export names. - [GHSA-w4gp-fjgq-3q4g](GHSA-w4gp-fjgq-3q4g) (CVE-2026-34226) — happy-dom fetch credentials leak on cross-origin requests. - [GHSA-c2c7-rcm5-vvqj](GHSA-c2c7-rcm5-vvqj) (CVE-2026-33671) — picomatch ReDoS via extglob quantifiers. - Existing semver ranges already allowed the fixed versions; the lockfile was just stale. ## Design Decisions Direct dependency bumps were preferred over pnpm overrides. The only `package.json` change beyond lockfile updates is the @eslint-react bump. All other vulnerabilities resolved through lockfile updates alone since their semver ranges already permitted the patched versions. The `effect` vulnerability ([GHSA-38f7-945m-qr2g](GHSA-38f7-945m-qr2g)) is not addressed here — `uploadthing` and `@uploadthing/shared` both pin `effect@3.17.7` (latest), below the fix at 3.20.0. Waiting for a new uploadthing release. `path-to-regexp` >=8.4.0 fixes a ReDoS vulnerability but has breaking API changes. It was not upgraded; the lockfile resolved to a non-vulnerable version (6.3.0) naturally.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Fixes high-severity vulnerabilities reported by
pnpm audit --prod.Key Changes
@eslint-react/eslint-plugin 1.31.0 → 1.53.1 in packages/eslint-config
picomatch4.x dependency since 1.47.0+ replaced it with other packages.Lockfile updates for happy-dom, picomatch, and path-to-regexp
Design Decisions
Direct dependency bumps were preferred over pnpm overrides. The only
package.jsonchange beyond lockfile updates is the @eslint-react bump. All other vulnerabilities resolved through lockfile updates alone since their semver ranges already permitted the patched versions.The
effectvulnerability (GHSA-38f7-945m-qr2g) is not addressed here —uploadthingand@uploadthing/sharedboth pineffect@3.17.7(latest), below the fix at 3.20.0. Waiting for a new uploadthing release.path-to-regexp>=8.4.0 fixes a ReDoS vulnerability but has breaking API changes. It was not upgraded; the lockfile resolved to a non-vulnerable version (6.3.0) naturally.