Skip to content

Fix CVE-2026-41672: Upgrade webdeployment-common to 4.274.0 in AzureMysqlDeploymentV2#22098

Open
v-abhishera wants to merge 4 commits intomasterfrom
users/v-abhishera/xmldom0.9.9fix
Open

Fix CVE-2026-41672: Upgrade webdeployment-common to 4.274.0 in AzureMysqlDeploymentV2#22098
v-abhishera wants to merge 4 commits intomasterfrom
users/v-abhishera/xmldom0.9.9fix

Conversation

@v-abhishera
Copy link
Copy Markdown
Contributor

Summary

Resolves Component Governance alert 434128 (CVE-2026-41672 — XML node injection in @xmldom/xmldom) by upgrading azure-pipelines-tasks-webdeployment-common to ^4.274.0 and removing the now-unnecessary @xmldom/xmldom override.

Root Cause

The task previously used an npm override to force @xmldom/xmldom@0.9.9 across all transitive dependencies. This version was flagged as vulnerable. The underlying source was webdeployment-common@4.272.1, which pinned @xmldom/xmldom to a git ref (#0.8.12).

Fix

  • Upgraded webdeployment-common from ^4.272.1 to ^4.274.0 (ships @xmldom/xmldom@^0.8.13, patched)
  • Removed the "@xmldom/xmldom": "0.9.9" override — no longer needed since 0.8.13 is not vulnerable and no 0.9.x version exists in the dependency tree

Changes

File Change
package.json webdeployment-common^4.274.0, removed xmldom override
package-lock.json Regenerated — resolves @xmldom/xmldom@0.8.13 from npm
task.json Version bumped to 2.274.1
task.loc.json Version bumped to 2.274.1

Testing

  • Build: ✅ successful
  • L0 tests: ✅ 5 passing (task-specific) + 8 passing (common suite)
  • Verified @xmldom/xmldom@0.8.13 is the only xmldom version in the dependency tree

from ^4.272.1 to ^4.274.0, which ships @xmldom/xmldom@^0.8.13 (patched).
Removed the @xmldom/xmldom override (previously forcing 0.9.9) since the
vulnerability is fixed in the common package's own dependency.
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 3 pipeline(s).

1 similar comment
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 3 pipeline(s).

@v-abhishera v-abhishera marked this pull request as ready for review April 30, 2026 05:57
@v-abhishera v-abhishera requested review from a team and manolerazvan as code owners April 30, 2026 05:57
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 3 pipeline(s).

@v-abhishera v-abhishera changed the title ## Fix CVE-2026-41672: Upgrade webdeployment-common to 4.274.0 in AzureMysqlDeploymentV2 (CG Alert 434128) Fix CVE-2026-41672: Upgrade webdeployment-common to 4.274.0 in AzureMysqlDeploymentV2 Apr 30, 2026
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 3 pipeline(s).

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 3 pipeline(s).

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