[Secrets] Ui.Tests restores vulnerable AngleSharp 1.2.0 via bunit 1.40.0 (NU1902) #24

Closed
opened 2026-11-09 12:31:07 -05:00 by dohertj2 · 1 comment
Owner

ZB.MOM.WW.Secrets.Ui.Tests resolves AngleSharp 1.2.0 via bunit 1.40.0, which raises NU1902 (GHSA-pgww-w46g-26qg) on restore with NuGetAudit on. Seen while verifying scadaproj#22 — it is the only audit warning left in the Secrets solution.

Theme's tests already solved the same thing by moving to bUnit 2.7.2 (AngleSharp 1.5.0). Do the same here, or add a transitive AngleSharp pin in ZB.MOM.WW.Secrets/Directory.Packages.props. Test-only dependency; no package release needed.

`ZB.MOM.WW.Secrets.Ui.Tests` resolves `AngleSharp` 1.2.0 via bunit 1.40.0, which raises NU1902 (GHSA-pgww-w46g-26qg) on restore with NuGetAudit on. Seen while verifying scadaproj#22 — it is the only audit warning left in the Secrets solution. Theme's tests already solved the same thing by moving to bUnit 2.7.2 (AngleSharp 1.5.0). Do the same here, or add a transitive `AngleSharp` pin in `ZB.MOM.WW.Secrets/Directory.Packages.props`. Test-only dependency; no package release needed.
dohertj2 added the type:debtpriority:p3 labels 2026-11-09 12:31:07 -05:00
Author
Owner

Fixed on main a05ce8c: transitive pin AngleSharp 1.5.0 in ZB.MOM.WW.Secrets/Directory.Packages.props (transitive pinning already on). bUnit 2.7.2 route rejected — 32 build errors (RenderComponent obsolete CS0619, AddTestAuthorization removed); bUnit stays 1.40.0. Evidence: dotnet restore ZB.MOM.WW.Secrets.slnx --force → 0 NU190x warnings; Secrets.Ui.Tests 17/17 passed.

Fixed on main a05ce8c: transitive pin `AngleSharp` 1.5.0 in ZB.MOM.WW.Secrets/Directory.Packages.props (transitive pinning already on). bUnit 2.7.2 route rejected — 32 build errors (RenderComponent obsolete CS0619, AddTestAuthorization removed); bUnit stays 1.40.0. Evidence: `dotnet restore ZB.MOM.WW.Secrets.slnx --force` → 0 NU190x warnings; Secrets.Ui.Tests 17/17 passed.
Sign in to join this conversation.