Skip to content

[Bug] NU1903: System.Security.Cryptography.Xml 8.0.3 has known high-severity vulnerabilities #23829

Closed

Description

@Xiaoy312

Current behavior 🐛

Restoring the framework emits NU1903 (known high-severity vulnerability) for System.Security.Cryptography.Xml 8.0.3, which is pinned in two build-tooling projects:

  • src/Uno.HotReload/Uno.HotReload.csproj
  • src/Uno.UI.RemoteControl.Server.Processors/Uno.UI.RemoteControl.Server.Processors.csproj

The pin exists to override a vulnerable version that Microsoft.Build.Tasks.Core pulls in transitively. It was previously bumped to 8.0.3 to clear GHSA-37gx-xxp4-5rgx / GHSA-w3x6-4m5h-cxqf (affected <= 8.0.2), but a newer set of July 2026 .NET XML-encryption advisories now covers the entire 8.0.x line:

  • CVE-2026-47304 / GHSA-g8r8-53c2-pm3f (security feature bypass)
  • GHSA-cvvh-rhrc-wg4q
  • GHSA-23rf-6693-g89p
  • GHSA-8q5v-6pqq-x66h

Per NuGet's vulnerability index these affect [8.0.0, 8.0.28] on the 8.0.x line, and the highest published 8.0.x package is 8.0.4 — so no 8.0.x release clears the advisories. On the 10.x line they affect [10.0.0, 10.0.9].

Expected behavior 🎯

Restore completes without NU1903 — the pinned System.Security.Cryptography.Xml version is clear of all known advisories.

How to reproduce it (as minimally and precisely as possible) 🔬

  1. Restore/build src/Uno.HotReload/Uno.HotReload.csproj or src/Uno.UI.RemoteControl.Server.Processors/Uno.UI.RemoteControl.Server.Processors.csproj.
  2. Observe the NU1903 warning for System.Security.Cryptography.Xml 8.0.3.

Workaround 🛠️

Move the transitive-override pin off the 8.0.x line to 10.0.10 — the first 10.x release above the affected <= 10.0.9 range. That package ships both net9.0 and net10.0 assets, matching the NetPrevious/NetCurrent target frameworks of these projects.

Affected platforms 📱💻🖥️

Build tasks

Anything else we need to know? 💬

Tooling/build-dependency hygiene issue only; no runtime/app behavior change. Filed to accompany the fix PR.

Activity

  1. added
    triage/untriaged
    on Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions