Skip to content

Raise System.Security.Cryptography.Xml to 10.0.13 - #215

Merged
frederikvig merged 2 commits into
masterfrom
fix/bump-cryptography-xml
Nov 7, 2026
Merged

frederikvig merged 2 commits into
masterfrom
fix/bump-cryptography-xml

Conversation

@frederikvig

Copy link
Copy Markdown
Member

Raises the direct reference to System.Security.Cryptography.Xml in Geta.NotFoundHandler.Optimizely.Commerce from 10.0.7 to 10.0.13, which should clear all 8 open Dependabot alerts (35 to 42). It's the only vulnerable package this repo references directly.

This doesn't patch a running site by itself

A site on ASP.NET Core uses the copy of this assembly in its .NET runtime, not the package. I published a fresh site against the Commerce package packed from this branch: the package requires 10.0.13, but no System.Security.Cryptography.Xml.dll is in the output and it isn't in deps.json. So a site is only protected on .NET 10.0.13 or later. This is in the changelog.

The sandbox machine runs ASP.NET Core 10.0.9, which is in the vulnerable range, so CI and local runs say nothing about the fix itself.

Still flagged by NuGet, left alone on purpose

These only come in through other packages, so they aren't changed here. dotnet list package --vulnerable --include-transitive still reports them:

Package Project Resolved Comes from Fixed in
System.Security.Cryptography.Pkcs Geta.NotFoundHandler, .Admin 9.0.11 Microsoft.Data.SqlClient 6.1.5 9.0.21
System.Security.Cryptography.Pkcs .Optimizely 10.0.0 MimeKit 4.16.0 10.0.13
SixLabors.ImageSharp .Optimizely, .Optimizely.Commerce 3.1.12 Optimizely CMS packages 3.2.0

In the Commerce project, Pkcs no longer shows up, as this bump lifts it to 10.0.13.

Testing

  • Unit tests: 342/342 and 82/82.
  • The sandbox boots with this on dd292c0 plus the bump, and 24 of 24 feature checks pass, with no assembly load errors in the log.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GUDE6qHSSrhDDLNMCQ5suJ

frederikvig and others added 2 commits November 7, 2026 11:40
Clears the 8 open Dependabot alerts on the Commerce package's direct
reference. Packages that are only pulled in through other ones are left alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUDE6qHSSrhDDLNMCQ5suJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUDE6qHSSrhDDLNMCQ5suJ
@frederikvig
frederikvig merged commit e283928 into master Nov 7, 2026
1 check passed
@frederikvig
frederikvig deleted the fix/bump-cryptography-xml branch November 7, 2026 21:17
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.

1 participant