Skip to content

Update dependency js-yaml to v4.1.1 [SECURITY]#939

Merged
stevenjoezhang merged 1 commit intomasterfrom
renovate/npm-js-yaml-vulnerability
Dec 31, 2025
Merged

Update dependency js-yaml to v4.1.1 [SECURITY]#939
stevenjoezhang merged 1 commit intomasterfrom
renovate/npm-js-yaml-vulnerability

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 15, 2025

This PR contains the following updates:

Package Change Age Confidence
js-yaml 4.1.04.1.1 age confidence

GitHub Vulnerability Alerts

CVE-2025-64718

Impact

In js-yaml 4.1.0, 4.0.0, and 3.14.1 and below, it's possible for an attacker to modify the prototype of the result of a parsed yaml document via prototype pollution (__proto__). All users who parse untrusted yaml documents may be impacted.

Patches

Problem is patched in js-yaml 4.1.1 and 3.14.2.

Workarounds

You can protect against this kind of attack on the server by using node --disable-proto=delete or deno (in Deno, pollution protection is on by default).

References

https://cheatsheetseries.owasp.org/cheatsheets/Prototype_Pollution_Prevention_Cheat_Sheet.html


Release Notes

nodeca/js-yaml (js-yaml)

v4.1.1

Compare Source

Security
  • Fix prototype pollution issue in yaml merge (<<) operator.

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coveralls
Copy link

coveralls commented Nov 15, 2025

Pull Request Test Coverage Report for Build 20622220188

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.451%

Totals Coverage Status
Change from base Build 20622210302: 0.0%
Covered Lines: 400
Relevant Lines: 405

💛 - Coveralls

@stevenjoezhang stevenjoezhang added this to the 8.27.0 milestone Nov 23, 2025
@renovate renovate bot force-pushed the renovate/npm-js-yaml-vulnerability branch from a8c59a7 to ee25fc0 Compare December 3, 2025 18:50
@renovate renovate bot force-pushed the renovate/npm-js-yaml-vulnerability branch from ee25fc0 to 933c2da Compare December 31, 2025 15:41
@stevenjoezhang stevenjoezhang merged commit bf059cc into master Dec 31, 2025
15 checks passed
@stevenjoezhang stevenjoezhang deleted the renovate/npm-js-yaml-vulnerability branch December 31, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants