Skip to content

Bump js-yaml to address vulnerabilities in openapi-framework - #921

Open
jorgedelamora wants to merge 1 commit into
kogosoftwarellc:mainfrom
jorgedelamora:bump-js-yaml
Open

Bump js-yaml to address vulnerabilities in openapi-framework#921
jorgedelamora wants to merge 1 commit into
kogosoftwarellc:mainfrom
jorgedelamora:bump-js-yaml

Conversation

@jorgedelamora

Copy link
Copy Markdown

Issue:

package js-yaml vulnerability in versions lower than 4.2.0
GHSA-h67p-54hq-rp68

Description

I need to use a version of openapi-framework that uses js-yaml 4.2.0 or higher, in order to override this package and address vulnerabilities. The problem is that openapi-framework uses the method jsYaml.safeLoad which is deprecated in v4.

This Pr bumps js-yaml to version 4.2.0 and changes the deprecated jsYaml.safeLoad to the safer jsYaml.Load method

Relevant screenshots

before

Screenshot 2026-06-24 at 8 10 05

after

Screenshot 2026-06-24 at 8 12 08

@blockwooddev

Copy link
Copy Markdown

I'm encountering this issue as well. It would be very helpful to have this merged and tagged!

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.

2 participants