MLE-31646: [MEDIUM] BDSA-2026-24060 in PostCSS v8.5.15 (MarkLogic-DevExp-nodeapi) - #1103
MLE-31646: [MEDIUM] BDSA-2026-24060 in PostCSS v8.5.15 (MarkLogic-DevExp-nodeapi)#1103ngodugu-marklogic wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR remediates Black Duck vulnerability BDSA-2026-24060 by forcing a patched PostCSS 8.5.23 resolution via npm overrides, then regenerating the lockfile to reflect the new transitive graph.
Changes:
- Added an npm
overridesentry pinningpostcssto8.5.23. - Regenerated
package-lock.jsonto resolvepostcss(and related transitive deps likenanoid) to patched versions.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Adds postcss to overrides to deterministically force the patched version. |
| package-lock.json | Updates resolved dependency graph to use postcss@8.5.23 (and associated transitive updates). |
| "wrap-ansi": "6.2.0", | ||
| "postcss": "8.5.23" |
| "resolved": "https://pkg.harness.io/pkg/ct8onj8YTdaXtKaFsYCRLg/org-marklogic-npm/npm/nanoid/-/3.3.12/nanoid-3.3.12.tgz", | ||
| "integrity": "sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==", | ||
| "version": "3.3.17", | ||
| "resolved": "https://pkg.harness.io/pkg/ct8onj8YTdaXtKaFsYCRLg/org-marklogic-npm/npm/nanoid/-/nanoid-3.3.17.tgz", |
There was a problem hiding this comment.
This package is not available in harness yet since it was published 8/3, causing the Jenkins Pipeline to fail, and must be published for 14 days before getting into harness registry
There was a problem hiding this comment.
Version 3.3.16 was released on 7/12 and currently has no vulnerabilities reported in Black Duck
| "underscore": "1.13.8", | ||
| "wrap-ansi": "6.2.0" | ||
| "wrap-ansi": "6.2.0", | ||
| "postcss": "8.5.23" |
There was a problem hiding this comment.
8.5.23 was published on 24 Jul, 2026. which is not available on Harness yet.
There was a problem hiding this comment.
8.5.20 was released on 7/19 and has no vulnerabilities in Black Duck
Summary
This PR remediates vulnerability BDSA-2026-24060 (PostCSS path traversal / information disclosure) reported in Black Duck for project MarkLogic-DevExp-nodeapi on branch develop.
The vulnerable transitive version was PostCSS 8.5.15.
This PR enforces PostCSS 8.5.23 (patched) using npm overrides.
What Changed
Why This Approach
Security Impact
Fixes Black Duck finding: Vulnerability ID: BDSA-2026-24060
Severity: Medium
CVSS: 6.5
Moves PostCSS from vulnerable 8.5.15 to patched 8.5.23.
Validation
Confirmed override entry exists in package.json.
Confirmed resolved version is PostCSS 8.5.23 in package-lock.json:4106.
Risk / Compatibility
Low risk: change is limited to dependency resolution for a transitive package.
Lockfile includes expected transitive metadata updates associated with the new PostCSS package.