🚨 [security] Update js-yaml 4.1.0 → 4.3.1 (minor) - #582
Open
depfu[bot] wants to merge 1 commit into
Open
Conversation
depfu
Bot
force-pushed
the
depfu/update/npm/js-yaml-4.3.1
branch
from
August 15, 2026 18:31
3704538 to
6d5ee9c
Compare
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.
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ js-yaml (4.1.0 → 4.3.1) · Repo · Changelog
Security Advisories 🚨
🚨 JS-YAML: Quadratic CPU consumption in !!omap resolution (3.x and 4.x) — CVE-2026-59870 fix not backported
🚨 js-yaml: YAML merge-key chains can force quadratic CPU consumption
🚨 JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases
🚨 js-yaml has prototype pollution in merge (<<)
Release Notes
4.3.0 (from changelog)
4.2.0 (from changelog)
4.1.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 71 commits:
4.3.1 releasedBackport quadratic complexity fix for !!omap4.3.0 releasedDrop demo publish, to not override new v5 one.Add v4-legacy tag for publishRestore umd builds back to es5Fix es5 compatibilityReplace `maxMergeSeqLength` option with `maxTotalMergeKeys` (more robust). Backport from v5doc polish4.2.0 releasedAdd package.json funding fieldChangelog updateFix digits in YAML named tag handlesFix flow scalar trailing whitespace folding, close #307Tests for #567, #565Stop resolving numbers with underscores as numeric scalars, #627CI config updateAdd lockfileDocs updateReject top-level block scalars without content indentation, close #280Fix #221 testFix out-of-range number resolution, close #737Fix parsing of properties on first implicit block mapping key, close #62Add `maxMergeSeqLength = 20` optionDeduplicate repeated sources on mergeAdd `maxDepth = 100` optiondocs: add safety noteCreate `docs/` folder for all extra notesCS: key-spacingAdd lint-fix scriptUpdate .gitignoreCS: no-useless-escape, camelcaseMove vars declaration to usage scopesCS [es2015]: var => let/constCS: indent, operator-linebreak, no-mixed-operatorsrefactor: replace multiline ternary with switch statementCS: one-varCS: multiline-ternary, yoda, no-unmodified-loop-condition, no-useless-return, no-control-regexCS: no-multi-spacesCS: semi, no-multiple-empty-lines, array-bracket-spacing, space-before-function-paren, padded-blocks, spaced-commentlint: fix warningslint => neostandardDemo: add link to clear editor contentDemo: update twbs & layoutDeps bumpDemo: cleanupDemo: migrate to vite buildRemove dist/ from repo (build on publish)rollup => vitePolish package.json scriptsAdd build testtests: drop mochatests: reorganize to groupstests: drop orphaned fixturesbenchmark => tinybenchnyc => c8Update CI badgeCleanup CI configUpdate funding infobuild: harden ci.yml permissions (#691)Revert "fix & test: throw error on zero-indentation block scalar (close #280)…" (#751)fix & test: throw error on zero-indentation block scalar (close #280) (#746)Update .github configsUpdate changelog4.1.1 releaseddist rebuildlint fixfix prototype pollution in merge (<<)README.md: HTTP => HTTPS (#678)doc: 'empty' style option for !!nullFix demo link (#618)Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands