MLE-31390: [HIGH] BDSA-2026-21635 in js-yaml v4.2.0 (MarkLogic-DevExp-nodeapi)#1101
Merged
Conversation
ngodugu-marklogic
requested review from
RitaChen609,
jonmille,
rjdew-progress and
rjrudin
as code owners
July 23, 2026 05:44
ngodugu-marklogic
removed request for
RitaChen609,
jonmille,
rjdew-progress and
rjrudin
July 23, 2026 05:44
There was a problem hiding this comment.
Pull request overview
This PR addresses the vulnerability report for js-yaml by forcing the dependency graph to use a newer js-yaml release across the repo’s tooling dependencies.
Changes:
- Pinned
js-yamlto4.3.0viapackage.jsonoverrides. - Updated
package-lock.jsonto reflectjs-yamlresolving to4.3.0.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Adds an override to force js-yaml to 4.3.0. |
| package-lock.json | Updates the locked js-yaml package entry from 4.2.0 to 4.3.0. |
ngodugu-marklogic
requested review from
RitaChen609,
jonmille,
rjdew-progress and
rjrudin
July 23, 2026 05:47
RitaChen609
approved these changes
Jul 23, 2026
jonmille
approved these changes
Jul 23, 2026
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.
Title:
MLE-31390: remediate BDSA-2026-21635 by pinning js-yaml to 4.3.0
Description:
This PR remediates the high-severity vulnerability BDSA-2026-21635 in js-yaml (DoS via algorithmic complexity) for the develop branch of MarkLogic-DevExp-nodeapi.
What changed:
Added an override to force js-yaml 4.3.0 in package.json.
Regenerated the lockfile so js-yaml resolves to 4.3.0 in package-lock.json.
Why this approach:
4.3.0 is the recommended patched version for this advisory.
Current transitive dependents resolve js-yaml on the 4.x line, so pinning to 4.3.0 is the lowest-risk fix.
Avoids a major jump to 5.x in this security patch PR.
Validation performed:
Confirmed the js-yaml entry resolves to 4.3.0 in package-lock.json
Confirmed no js-yaml 4.2.0 lockfile entry remains.
Ran lockfile audit; js-yaml vulnerability is no longer present in reported findings.