fix(security): Bump svgo and tar to fix vulnerabilities in release 3.12#5881
Merged
jbocce merged 1 commit intoOHIF:release/3.12from Mar 6, 2026
Conversation
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.
Context
Changes & Results
Patched the vulnerable packages.
Testing
Run the automated tests.
Checklist
PR
semantic-release format and guidelines.
Code
etc.)
Public Documentation Updates
additions or removals.
Greptile Summary
This PR patches two known security vulnerabilities in the
release/3.12branch by bumpingtarfrom7.5.9to7.5.10(fixes GHSA-qffp-2rhf-9h96) and pinningsvgoto3.3.3via theresolutionsfield (fixes GHSA-xpqw-6gx7-v673, which was caused by the now-removed@trysound/saxdependency, replaced bysax@1.5.0).Key changes:
tarbumped7.5.9 → 7.5.10in rootpackage.jsonresolutions and all lock files.svgopinned to3.3.3in root and docspackage.jsonresolutions;@trysound/sax(vulnerable SAX parser) is replaced bysax@^1.5.0in the dependency tree.stable,css-tree@1.1.x,csso@4.x,mdn-data@2.0.14,@trysound/sax) are pruned from lock files.resolutionsoverride also forcessvgo@^2.7.0(previously2.8.0) to resolve to3.3.3— a major-version upgrade that affects transitive consumers likepostcss-svgo. Both lock files are consistently updated.The security intent is correct and the approach (using Yarn
resolutions) is the standard pattern for patching transitive vulnerabilities.Confidence Score: 5/5
resolutionspattern. Both vulnerabilities are addressed with correct version bumps (tar7.5.10,svgo3.3.3 withsax@1.5.0replacing the vulnerable@trysound/sax). The package.json resolutions are mirrored consistently across root and docs sub-project, and all three lock files (yarn.lock, bun.lock, platform/docs/yarn.lock) are updated together. The author has committed to running automated tests which will validate the integrity of the build and any transitive dependency interactions.Last reviewed commit: 2fd4c00