Fix high-severity npm audit failures - #536
Merged
Merged
Conversation
Updates package-lock.json via `npm audit fix --package-lock-only` to resolve the high-severity picomatch advisories (GHSA-3v7f-55p6-f55p, GHSA-c2c7-rcm5-vvqj) that were breaking CI. Remaining moderate advisories are under the audit threshold.
srtfisher
added a commit
that referenced
this pull request
Jun 15, 2026
The CI Node Tests step runs `npm audit --audit-level=high --omit=dev`, which failed on fast-uri <=3.1.1 (path traversal GHSA-q3j6-qgpj-74h6 and host confusion GHSA-v39h-62p7-jpjc), pulled in transitively via ajv and the @wordpress/* packages. Add an npm override pinning fast-uri to ^3.1.2 (the patched 3.x release, compatible with ajv's ^3.0.1 constraint). Resolves the only high-severity advisory; the remaining moderates are tolerated by --audit-level=high, consistent with #536.
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.
Summary
npm audit fix --package-lock-onlyto bump the transitivepicomatchdep past GHSA-3v7f-55p6-f55p and GHSA-c2c7-rcm5-vvqj, which were breaking CI.Test plan
composer phpcscomposer phpstancomposer rector(dry-run)npm run check-typesnpm run eslintnpm run stylelint