Describe the bug
Warning "NU1903: Package 'System.Text.Json' 6.0.0 has a known high severity vulnerability, GHSA-hh2w-p6rv-4g7w" displays after building mstest project in CLI.

Expected Behavior
There is no any warning after building mstest project.
Steps To Reproduce
Build:
dotnet-sdk-9.0.100-preview.7.24360.15-win-x64 from https://github.com/dotnet/sdk/blob/main/documentation/package-table.md on windows11
1.dotnet new mstest -o ms1
2.cd ms1
3.dotnet build
.NET Version
.NET SDK:
Version: 9.0.100-preview.7.24360.15
Commit: ae55b93
Workload version: 9.0.100-manifests.bd76a59e
MSBuild version: 17.12.0-preview-24359-01+c2f9b76bb
Runtime Environment:
OS Name: Windows
OS Version: 10.0.22631
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.100-preview.7.24360.15\
.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.
Host:
Version: 9.0.0-preview.7.24357.2
Architecture: x64
Commit: static
.NET SDKs installed:
9.0.100-preview.7.24360.15 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.0-preview.7.24359.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.0-preview.7.24357.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 9.0.0-preview.7.24359.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Describe the bug
Warning "NU1903: Package 'System.Text.Json' 6.0.0 has a known high severity vulnerability, GHSA-hh2w-p6rv-4g7w" displays after building mstest project in CLI.

Expected Behavior
There is no any warning after building mstest project.
Steps To Reproduce
Build:
dotnet-sdk-9.0.100-preview.7.24360.15-win-x64 from https://github.com/dotnet/sdk/blob/main/documentation/package-table.md on windows11
1.dotnet new mstest -o ms1
2.cd ms1
3.dotnet build
.NET Version
.NET SDK:
Version: 9.0.100-preview.7.24360.15
Commit: ae55b93
Workload version: 9.0.100-manifests.bd76a59e
MSBuild version: 17.12.0-preview-24359-01+c2f9b76bb
Runtime Environment:
OS Name: Windows
OS Version: 10.0.22631
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.100-preview.7.24360.15\
.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.
Host:
Version: 9.0.0-preview.7.24357.2
Architecture: x64
Commit: static
.NET SDKs installed:
9.0.100-preview.7.24360.15 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.0-preview.7.24359.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.0-preview.7.24357.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 9.0.0-preview.7.24359.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download