Fix npm transitive dependency security vulnerabilities#792
Merged
Conversation
|
Visit the preview URL for this PR (updated for commit 8986383): https://astar-docs--pr792-feat-update-node-pac-ckns8nnw.web.app (expires Fri, 12 Jun 2026 14:52:59 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: f2f13e9b593d211faae6343d67a88fac3fd7268d |
ipapandinas
approved these changes
Jun 5, 2026
ipapandinas
reviewed
Jun 5, 2026
Contributor
ipapandinas
left a comment
There was a problem hiding this comment.
Why not bumping some dependencies rather than using resolutions?
Resolves ~50 open Dependabot alerts by forcing patched versions of vulnerable transitive dependencies via yarn resolutions. Co-Authored-By: Juminstock <juminstock@users.noreply.github.com>
41fe776 to
8986383
Compare
Contributor
Author
Thanks for the review and feedback, Igor! I opted to use resolutions because I wanted to address the vulnerability alerts specifically, but you make a good point. I'll keep that in mind and implement it that way in the future. |
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
Resolves ~50 open Dependabot security alerts by forcing patched versions of vulnerable transitive dependencies via yarn
resolutions. All changes were validated with a successful production build.Changes
node-forgeto^1.4.0(signature forgery, DoS — 4 HIGH alerts)tarto^7.5.11(path traversal, symlink poisoning — 6 HIGH alerts)mermaidto^11.15.0(CSS/HTML injection, XSS, DoS — 6 alerts)dompurifyto^3.4.0(multiple XSS and prototype pollution bypasses — 9 alerts)minimatchto^3.1.4/^9.0.7(ReDoS — 6 HIGH alerts)serialize-javascriptto^7.0.5(RCE, CPU exhaustion — 2 alerts)lodashandlodash-esto^4.18.1(code injection, prototype pollution — 6 alerts)fast-urito^3.1.2(path traversal, host confusion — 2 HIGH alerts)picomatchto^2.3.2/^4.0.4(ReDoS, method injection — 4 alerts)@babel/plugin-transform-modules-systemjsto^7.29.4(arbitrary code execution — 1 HIGH alert)svgoto^3.3.3(Billion Laughs DoS — 1 HIGH alert)path-to-regexp0.1.12to0.1.13(ReDoS — 1 HIGH alert)ws@^8to^8.20.1(uninitialized memory disclosure — 1 alert)qsto^6.15.2(multiple DoS vectors — 3 alerts)ip-addressto^10.1.1(XSS in HTML-emitting methods — 1 alert)ajvto^6.14.0/^8.18.0,brace-expansion,follow-redirects,js-yaml,mdast-util-to-hast,on-headers,uuid@^11(misc medium/low alerts)webpackto5.99.9to prevent ProgressPlugin schema breakage on Docusaurus 3.8.1lycheeverse/lychee-actionfromv1.7.0tov2.0.2inbroken-links.ymlKnown remaining alerts
webpack-dev-server(#56, #57, #132)webpack(#79, #80)5.100+breaks Docusaurus 3.8.1 ProgressPlugin schema. Same Docusaurus upgrade path.uuid@^8(#133 partial)