Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@
Microsoft.AspNetCore.OpenApi and Swashbuckle only require Microsoft.OpenApi >= 2.0.0, which otherwise
resolves to a vulnerable 2.0.0 (CVE-2026-49451, GHSA-v5pm-xwqc-g5wc). Pin forward to a patched 2.x
until the referencing packages raise their floor.

HOLD at 2.9.0 - do not bump. Microsoft.OpenApi 2.10.0+ reworked OpenAPI 3.0 nullability serialization
(regression confirmed in 2.11.0): nullable, type-less schemas emit "enum": [null] and nullable oneOf
$refs drop "nullable" entirely, which corrupts the generated Delivery API 3.0 contract (fails
OpenApiContractTest) and misleads client code generation. 2.9.0 is already CVE-patched, so holding
carries no security cost. Tracked upstream at https://github.com/microsoft/OpenAPI.NET/issues/2967;
bump only once the 2.x track ships a fix. If a security advisory forces a bump sooner, a Swashbuckle
schema-filter workaround will be needed to restore the 3.0 nullable output.
-->
<PackageVersion Include="Microsoft.OpenApi" Version="2.9.0" />
<!--
Expand Down
3 changes: 3 additions & 0 deletions src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
Directory.Packages.props does not reach it. Reference it directly to force the patched version instead
of the vulnerable 2.0.0 that Swashbuckle / Microsoft.AspNetCore.OpenApi otherwise resolve
(CVE-2026-49451, GHSA-v5pm-xwqc-g5wc).

HOLD at 2.9.0 - do not bump; keep in sync with the central pin in Directory.Packages.props. 2.10.0+
regresses OpenAPI 3.0 nullability serialization. See https://github.com/microsoft/OpenAPI.NET/issues/2967.
-->
<PackageReference Include="Microsoft.OpenApi" Version="2.9.0" />
</ItemGroup>
Expand Down
Loading