Skip to content

fix: upgrade js-yaml to 4.3.1, 3.15.1 (GHSA-5p4m-2wfm-xmqj) - #10243

Open
anupamme wants to merge 1 commit into
RaspberryPiFoundation:mainfrom
anupamme:fix-repo-blockly-ghsa-5p4m-2wfm-xmqj-js-yaml
Open

fix: upgrade js-yaml to 4.3.1, 3.15.1 (GHSA-5p4m-2wfm-xmqj)#10243
anupamme wants to merge 1 commit into
RaspberryPiFoundation:mainfrom
anupamme:fix-repo-blockly-ghsa-5p4m-2wfm-xmqj-js-yaml

Conversation

@anupamme

@anupamme anupamme commented Aug 7, 2026

Copy link
Copy Markdown

Summary

Upgrade js-yaml from 4.3.0 to 4.3.1, 3.15.1 to fix GHSA-5p4m-2wfm-xmqj.

Vulnerability

Field Value
ID GHSA-5p4m-2wfm-xmqj
Severity HIGH
Scanner trivy
Rule GHSA-5p4m-2wfm-xmqj
File package-lock.json (dependency: js-yaml)
Assessment Present in dependency tree, not confirmed reachable

Description: JS-YAML: Quadratic CPU consumption in !!omap resolution (3.x and 4.x) — CVE-2026-59870 fix not backported

Changes

  • package.json
  • package-lock.json

Behavior Preservation

The change is scoped to 2 files on the vulnerable path; it only tightens handling of untrusted input and leaves valid inputs unaffected.


This patch removes an exploit primitive — a code pattern that, while not independently exploitable today, could be chained with other weaknesses by automated exploit-development tooling. Proactive removal of such primitives raises the bar against increasingly capable automated attack tools.


Automated security fix by OrbisAI Security

Automated dependency upgrade by OrbisAI Security
@anupamme
anupamme requested a review from a team as a code owner August 7, 2026 16:22
@anupamme
anupamme requested a review from maribethb August 7, 2026 16:22
@github-actions github-actions Bot added the PR: fix Fixes a bug label Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants