Skip to content

Fix vulnerabilities in some examples.#69

Merged
miguelcalderon merged 7 commits intomainfrom
miguel/update-vuln-deps-26.02.2026
Mar 4, 2026
Merged

Fix vulnerabilities in some examples.#69
miguelcalderon merged 7 commits intomainfrom
miguel/update-vuln-deps-26.02.2026

Conversation

@miguelcalderon
Copy link
Contributor

Summary

  • Angular: Upgrade Angular packages to 21.2.0, fix qs override → 16 → 0 vulns
  • Gatsby: Add webpack override to ^5.105.0, bump dev deps → 2 → 0 vulns
  • Laravel: Add scoped ajv-formatsajv override to ^8.18.0 → 7 → 6 vulns (remaining 6 are unfixable elliptic affecting all versions)
  • PWA: Add ajv override to ^8.18.0, bump workbox to 7.4.0 → 2 → 0 vulns
  • Svelte: Bump rollup plugins, fix constlet for bind:errorMsg bug → 1 remaining (Svelte 4 SSR vulns, fix requires Svelte 5 migration)
  • TypeScript: Bump webpack/typescript/eslint deps, add minimatch/ajv/qs overrides → 4 → 0 vulns
  • Webpack: Bump webpack/ajv deps, add minimatch/ajv/qs overrides → 4 → 0 vulns

All examples verified to build successfully after changes.

@miguelcalderon miguelcalderon self-assigned this Feb 26, 2026
@miguelcalderon miguelcalderon marked this pull request as ready for review February 26, 2026 09:27
@miguelcalderon miguelcalderon requested a review from a team February 26, 2026 09:27
@miguelcalderon miguelcalderon changed the title Fix vulnerabilities in Angular, Gatsby, Laravel, PWA, Svelte, TypeScript, and Webpack examples Fix vulnerabilities in some examples. Feb 27, 2026
@miguelcalderon miguelcalderon requested review from a team, sashamilenkovic and sc0 February 27, 2026 08:36
@miguelcalderon
Copy link
Contributor Author

@nutrient-code-reviewer

@vladimir-tikhonov-nutrient
Copy link
Contributor

closing in favor of #70

@vladimir-tikhonov-nutrient vladimir-tikhonov-nutrient deleted the miguel/update-vuln-deps-26.02.2026 branch March 4, 2026 10:19
@miguelcalderon miguelcalderon restored the miguel/update-vuln-deps-26.02.2026 branch March 4, 2026 10:20
@miguelcalderon miguelcalderon reopened this Mar 4, 2026
@miguelcalderon miguelcalderon force-pushed the miguel/update-vuln-deps-26.02.2026 branch from 5b5ab0e to 93ae4b0 Compare March 4, 2026 10:40
@miguelcalderon
Copy link
Contributor Author

@vladimir-tikhonov-nutrient I've reopened it to append some missing updates.

"version": "5.105.3",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.105.3.tgz",
"integrity": "sha512-LLBBA4oLmT7sZdHiYE/PeVuifOxYyE2uL/V+9VQP7YSYdJU7bSf7H8bZRRxW8kEPMkmVjnrXmoR3oejIdX0xbg==",
"version": "5.105.2",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lockfile resolves webpack to 5.105.2, but main currently resolves 5.105.3. Since this PR is dependency/security remediation, can we avoid this patch-level downgrade?

"version": "5.105.3",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.105.3.tgz",
"integrity": "sha512-LLBBA4oLmT7sZdHiYE/PeVuifOxYyE2uL/V+9VQP7YSYdJU7bSf7H8bZRRxW8kEPMkmVjnrXmoR3oejIdX0xbg==",
"version": "5.105.2",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lockfile resolves webpack to 5.105.2, while main has 5.105.3. Please avoid accidentally downgrading webpack in this remediation PR.

"version": "5.105.3",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.105.3.tgz",
"integrity": "sha512-LLBBA4oLmT7sZdHiYE/PeVuifOxYyE2uL/V+9VQP7YSYdJU7bSf7H8bZRRxW8kEPMkmVjnrXmoR3oejIdX0xbg==",
"version": "5.105.2",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Direct webpack spec was bumped, but resolved version here is lower than main (5.105.3 -> 5.105.2). Could we keep at least the previous patched version?

"version": "5.105.3",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.105.3.tgz",
"integrity": "sha512-LLBBA4oLmT7sZdHiYE/PeVuifOxYyE2uL/V+9VQP7YSYdJU7bSf7H8bZRRxW8kEPMkmVjnrXmoR3oejIdX0xbg==",
"version": "5.105.2",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved webpack is downgraded from 5.105.3 on main to 5.105.2 here. Please regenerate/pin so this PR does not reduce patch level.

"version": "5.105.3",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.105.3.tgz",
"integrity": "sha512-LLBBA4oLmT7sZdHiYE/PeVuifOxYyE2uL/V+9VQP7YSYdJU7bSf7H8bZRRxW8kEPMkmVjnrXmoR3oejIdX0xbg==",
"version": "5.105.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lockfile regresses several webpack-stack packages (webpack 5.105.3 -> 5.105.0, webpack-dev-server 5.2.3 -> 5.2.2, html-webpack-plugin 5.6.6 -> 5.5.0). Can we regenerate to avoid accidental downgrades?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please see LLM findings above

@miguelcalderon
Copy link
Contributor Author

@vladimir-tikhonov-nutrient good catch! Addressed now, thank you!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@miguelcalderon miguelcalderon merged commit 2449777 into main Mar 4, 2026
3 checks passed
@miguelcalderon miguelcalderon deleted the miguel/update-vuln-deps-26.02.2026 branch March 4, 2026 13:25
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.

2 participants