Skip to content

fix(deps): patch minimatch and fast-xml-parser transitive CVEs - #407

Open
TFT444 wants to merge 1 commit into
devfrom
fix/npm-minimatch-fastxml
Open

TFT444 wants to merge 1 commit into
devfrom
fix/npm-minimatch-fastxml

Conversation

@TFT444

@TFT444 TFT444 commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

Closes the two remaining npm Dependabot alerts not covered by #402, so every open alert now has a fix in flight.

Package Advisory Severity From To Manifest
minimatch GHSA-g3hv-75wg-m249 medium 10.2.5 11.0.8 frontend
fast-xml-parser GHSA-474x-hrwr-fgx4 low 5.11.1 5.12.0 website

Why overrides

Both are transitive dependencies:

  • minimatch is pulled in by eslint / @eslint/config-array (dev tooling), whose range (^10.2.4) caps it below the 11.0.1 patch. An npm overrides entry is the only way to force the patched major.
  • fast-xml-parser is pulled in by @astrojs/rss; pinned via override for determinism.

Verification

  • npm ci succeeds in both frontend (242 pkgs) and website (203 pkgs).
  • minimatch@11.0.8 deduped across the eslint tree; npm run lint passes clean in frontend.
  • fast-xml-parser@5.12.0 resolves under @astrojs/rss.

Note on merge order

Touches website/package-lock.json, which #402 also edits. Merge after #402 (or expect a quick lockfile rebase).

- minimatch: override to ^11.0.1 (installs 11.0.8) for GHSA-g3hv-75wg-m249
  (medium). Pulled in transitively by eslint/@eslint/config-array (dev
  tooling); the parent range capped it below the 11.0.1 patch, so an
  npm override is required. Frontend lint passes on the bumped version.
- fast-xml-parser: override to ^5.12.0 for GHSA-474x-hrwr-fgx4 (low),
  pulled in by @astrojs/rss on the website.

Closes the two remaining npm Dependabot alerts not covered by #402.

Signed-off-by: Tanvir Farhad <tamimtarafder12@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/@isaacs/nonrecursive-glob-match 1.1.0 UnknownUnknown
npm/brace-expansion 5.0.13 🟢 7
Details
CheckScoreReason
Code-Review⚠️ 1Found 3/16 approved changesets -- score normalized to 1
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Security-Policy🟢 10security policy file detected
Maintained🟢 1011 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies🟢 10all dependencies are pinned
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 9license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/minimatch 11.0.8 🟢 6.2
Details
CheckScoreReason
Code-Review⚠️ 0Found 1/28 approved changesets -- score normalized to 0
Maintained🟢 1030 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Binary-Artifacts🟢 10no binaries found in the repo
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Security-Policy🟢 10security policy file detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/@nodable/entities 3.1.0 UnknownUnknown
npm/fast-xml-parser 5.12.0 🟢 8.7
Details
CheckScoreReason
Code-Review🟢 3Found 9/25 approved changesets -- score normalized to 3
Security-Policy🟢 10security policy file detected
Maintained🟢 1030 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10
Binary-Artifacts🟢 10no binaries found in the repo
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Fuzzing🟢 10project is fuzzed
Pinned-Dependencies🟢 8dependency not pinned by hash detected -- score normalized to 8
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Packaging🟢 10packaging workflow detected
SAST🟢 9SAST tool detected but not run on all commits
npm/is-unsafe 2.0.3 UnknownUnknown
npm/strnum 2.5.1 UnknownUnknown

Scanned Files

  • frontend/package-lock.json
  • website/package-lock.json

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant