Skip to content

MLE-31390: [HIGH] BDSA-2026-21635 in js-yaml v4.2.0 (MarkLogic-DevExp-nodeapi)#1101

Merged
ngodugu-marklogic merged 1 commit into
developfrom
MLE-31390
Jul 23, 2026
Merged

MLE-31390: [HIGH] BDSA-2026-21635 in js-yaml v4.2.0 (MarkLogic-DevExp-nodeapi)#1101
ngodugu-marklogic merged 1 commit into
developfrom
MLE-31390

Conversation

@ngodugu-marklogic

@ngodugu-marklogic ngodugu-marklogic commented Jul 23, 2026

Copy link
Copy Markdown

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.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-yaml to 4.3.0 via package.json overrides.
  • Updated package-lock.json to reflect js-yaml resolving to 4.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 ngodugu-marklogic changed the title MLE-31390: [HIGH] BDSA-2026-21635 in js-yaml v4.2.0 (MarkLogic-DevExp-nodeapi) [WIP] MLE-31390: [HIGH] BDSA-2026-21635 in js-yaml v4.2.0 (MarkLogic-DevExp-nodeapi) Jul 23, 2026
@ngodugu-marklogic
ngodugu-marklogic merged commit e5a0374 into develop Jul 23, 2026
5 checks passed
@ngodugu-marklogic
ngodugu-marklogic deleted the MLE-31390 branch July 23, 2026 15:56
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.

4 participants