Skip to content

fix(deps): update @xmldom/xmldom and js-yaml to fix CVEs - #24

Merged
ohorbachevskyi merged 1 commit into
mainfrom
fix/deps-xmldom-js-yaml
Oct 6, 2026
Merged

ohorbachevskyi merged 1 commit into
mainfrom
fix/deps-xmldom-js-yaml

Conversation

@ohorbachevskyi

Copy link
Copy Markdown
Contributor

Summary

Fix the high-severity Dependabot alerts for @xmldom/xmldom and js-yaml.

  • @redocly/realm pins @xmldom/xmldom and js-yaml exactly. Realm 0.137.1 is the first version line with the fixed versions, so this PR bumps @redocly/realm from ^0.136.1 to ^0.137.1.
  • @redocly/realm@0.137.1 pins @redocly/theme@0.69.0, so this PR also bumps @redocly/theme from ^0.68.1 to ^0.69.0.
  • xml-crypto@6.1.0 allows @xmldom/xmldom@^0.8.10, so its nested copy got a lockfile-only update to 0.8.15.
  • No overrides. The lockfile diff has only packages that the realm/theme bump forces, plus the nested @xmldom/xmldom.
Package Old version New version Advisories
@xmldom/xmldom (through @redocly/realm) 0.9.10 0.9.12 CVE-2026-83605, CVE-2026-83606, CVE-2026-83607, CVE-2026-83608, CVE-2026-83609, CVE-2026-83612, CVE-2026-83613, CVE-2026-83614, CVE-2026-83615, CVE-2026-83616, CVE-2026-83618
@xmldom/xmldom (through xml-crypto) 0.8.13 0.8.15 CVE-2026-83605, CVE-2026-83607, CVE-2026-83608, CVE-2026-83613, CVE-2026-83614, CVE-2026-83615, CVE-2026-83616, CVE-2026-83619
js-yaml 4.3.1 4.3.2 CVE-2026-84375
@redocly/realm (parent) 0.136.1 0.137.1 —
@redocly/theme (parent) 0.68.1 0.69.0 —

Verification

  • npm ls @xmldom/xmldom js-yaml --all: only @xmldom/xmldom@0.9.12, @xmldom/xmldom@0.8.15, js-yaml@4.3.2 (and js-yaml@5.3.0 under @redocly/openapi-core, which is not in the advisory ranges).
  • npm run lint: passes.
  • realm develop: starts with no errors, 24 pages, /openapi/cafe returns 200.
  • Smoke test: @xmldom/xmldom parse/serialize, xml-crypto sign (with nested @xmldom/xmldom@0.8.15), js-yaml load.
  • realm build needs a license token, so it did not run locally.

Known, out of scope

🤖 Generated with Claude Code

…VE-2026-83606, CVE-2026-83607, CVE-2026-83608, CVE-2026-83609, CVE-2026-83612, CVE-2026-83613, CVE-2026-83614, CVE-2026-83615, CVE-2026-83616, CVE-2026-83618, CVE-2026-83619, CVE-2026-84375

Bump @redocly/realm to ^0.137.1 and @redocly/theme to ^0.69.0 (realm pins
@xmldom/xmldom 0.9.12 and js-yaml 4.3.2). Update the nested @xmldom/xmldom
under xml-crypto to 0.8.15 in the lockfile only.
@ohorbachevskyi ohorbachevskyi changed the title fix(deps): update @xmldom/xmldom and js-yaml to fix CVE-2026-83605, CVE-2026-83606, CVE-2026-83607, CVE-2026-83608, CVE-2026-83609, CVE-2026-83612, CVE-2026-83613, CVE-2026-83614, CVE-2026-83615, CVE-2026-83616, CVE-2026-83618, CVE-2026-83619, CVE-2026-84375 fix(deps): update @xmldom/xmldom and js-yaml to fix CVEs Oct 6, 2026

@redocly redocly Bot 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.

cafe

AI Review: 🟢 Completed

Note

Low Risk

Routine dependency updates addressing security advisories with minimal blast radius. Changes are limited to minor and patch version bumps for @redocly/realm, @redocly/theme, and their transitive dependencies, with no modifications to application code.

Overview

Updates @redocly/realm (to ^0.137.1) and @redocly/theme (to ^0.69.0) along with lockfile dependencies to remediate high-severity CVEs:

  • Bumps @xmldom/xmldom to 0.9.12 (via @redocly/realm) and 0.8.15 (nested under xml-crypto).
  • Bumps js-yaml to 4.3.2.
  • Synchronizes internal @redocly/* sub-packages required by the updated Realm and Theme releases.

Changed pages

No pages affected.

Open preview

@ohorbachevskyi
ohorbachevskyi merged commit e46ff87 into main Oct 6, 2026
7 checks passed
@ohorbachevskyi
ohorbachevskyi deleted the fix/deps-xmldom-js-yaml branch October 6, 2026 14:46
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