fix(frontend): bump js-yaml to >=4.2.0 (CVE-2026-53550, Dependabot #140)#694
Closed
remyluslosius wants to merge 1 commit into
Closed
fix(frontend): bump js-yaml to >=4.2.0 (CVE-2026-53550, Dependabot #140)#694remyluslosius wants to merge 1 commit into
remyluslosius wants to merge 1 commit into
Conversation
js-yaml@4.1.1 (transitive dev dependency via eslint -> @eslint/eslintrc and openapi-typescript -> @redocly/openapi-core) is vulnerable to a quadratic-complexity DoS in YAML merge-key handling (GHSA-h67p-54hq-rp68, medium, availability-only, dev scope). Pin via package.json 'overrides' to ^4.2.0 (the patched release); npm dedups both consumers to 4.2.0. npm audit: 0 vulnerabilities; eslint + tsc green. Not in the shipped SPA bundle. Signed-off-by: Remylus Losius <remyluslosius@gonaibo.com>
Contributor
Author
|
Superseded by #698 (consolidated GA-prep merge to avoid the rebase cascade). The same changes landed there. |
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.
Resolves Dependabot alert #140.
The vulnerability
C:N/I:N/A:L).frontend/package-lock.json, dev scope): pulled in byeslint->@eslint/eslintrcandopenapi-typescript->@redocly/openapi-core. Not in the shipped SPA bundle.Fix
Pin via
overridesinfrontend/package.jsonto^4.2.0(forces the resolution regardless of the parents' ranges). npm dedups both consumers to a single js-yaml@4.2.0.Verification
npm ls js-yaml-> 4.2.0 (both consumers)npm audit-> 0 vulnerabilitieseslint --max-warnings=0 .clean (it's the primary js-yaml consumer)tsc --noEmitcleanDiff is scoped to
package.json+package-lock.json.