MLE-31764: [HIGH] BDSA-2026-24772 in nanoid v3.3.12 (MarkLogic-DevExp-nodeapi) - #1112
Conversation
There was a problem hiding this comment.
Pull request overview
This PR remediates reported third-party vulnerabilities by updating dependency resolution: it upgrades sanitize-html to the recommended patch version and forces nanoid to a non-vulnerable release via npm overrides, with corresponding lockfile regeneration.
Changes:
- Upgraded
sanitize-htmlfrom^2.17.6to^2.17.7. - Added an npm
overridesentry pinningnanoidto3.3.17. - Regenerated
package-lock.jsonto reflect updated resolved artifacts and integrity hashes.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Bumps sanitize-html patch version and pins nanoid via overrides. |
| package-lock.json | Updates lockfile entries to resolve sanitize-html and nanoid to the intended versions. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
c43de07 to
223f276
Compare
|
@ngodugu-marklogic npm audit still reports the same vulnerability on nanoid@3.3.17 `PS C:\Users\ritac\marklogic_workspace\marklogic-devexp\node-client-api> npm list nanoid PS C:\Users\ritac\marklogic_workspace\marklogic-devexp\node-client-api> npm audit npm audit reportnanoid <3.3.18 3 moderate severity vulnerabilities` |
PR Summary
This PR remediates BDSA-2026-24772 by updating transitive dependency resolution to a non-vulnerable nanoid release within the same major version, and aligns with BlackDuck guidance by updating sanitize-html to the recommended patch version.
What changed
package.json:76.package.json:102.package-lock.json:3744andpackage-lock.json:3746package-lock.json:4490andpackage-lock.json:4492Why
Risk and compatibility
Validation performed
package.json.package-lock.json.Notes