Skip to content

[COMP-202]: Upgrade js-yaml to 4.3.1 to fix GHSA-5p4m-2wfm-xmqj (HIGH) - #263

Draft
phineas-parentsquare[bot] wants to merge 1 commit into
mainfrom
phineas/fix/COMP-202/upgrade-js-yaml-security-vuln
Draft

[COMP-202]: Upgrade js-yaml to 4.3.1 to fix GHSA-5p4m-2wfm-xmqj (HIGH)#263
phineas-parentsquare[bot] wants to merge 1 commit into
mainfrom
phineas/fix/COMP-202/upgrade-js-yaml-security-vuln

Conversation

@phineas-parentsquare

Copy link
Copy Markdown

https://dewsly.atlassian.net/browse/COMP-202

Summary

Upgrades js-yaml from 4.3.0 to 4.3.1 in the frontend to resolve a HIGH severity security vulnerability.

Vulnerability: GHSA-5p4m-2wfm-xmqj
CVSS Score: 7.5 (HIGH)
Due Date: 2026-09-11

The vulnerability involves quadratic complexity in !!omap duplicate key detection, which could be exploited for denial-of-service attacks against YAML parsing.

Changes

  • frontend/package.json — Added js-yaml as an explicit devDependency at ^4.3.1 to pin the minimum safe version
  • frontend/package-lock.json — Updated resolved version from 4.3.0 to 4.3.1

Testing Performed

  • Ran npm audit in frontend/GHSA-5p4m-2wfm-xmqj is no longer reported
  • Verified node_modules/js-yaml resolves to 4.3.1 in the lock file

Note: There is an existing Dependabot PR #259 for the same fix. This PR takes the same approach but also explicitly pins js-yaml as a devDependency in package.json to prevent future regressions.

Co-authoring

This PR was created by Phineas on behalf of Nick Atkins <>.

Co-authored-by: Nick Atkins <>

I can be triggered via GitHub comments by typing "/phineas" and then your instruction.
For more information on Phineas, please refer to the Phineas Pocket Guide.
To provide feedback, please post in the phineas-xfn Slack channel.

Upgrades js-yaml from 4.3.0 to 4.3.1 to resolve HIGH severity
security vulnerability GHSA-5p4m-2wfm-xmqj (CVSS 7.5).

The vulnerability involves quadratic complexity in cd /workspace/OpenHands && git config user.name openhands && git config user.email openhands@all-hands.dev && git add frontend/package.json frontend/package-lock.json && git status 2>&1omap duplicate
key detection, which could be exploited for denial-of-service attacks.

Co-authored-by: Nick Atkins <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant