Skip to content

fix(blazor): fix nutrient-viewer.js script tag in Blazor examples; confirm CVE-2026-96230 is fixed - #121

Merged
miguelcalderon merged 2 commits into
mainfrom
support-agent/linear-265f7f39-0603-420a-8618-7d34b802d9ad-a2b41f6c-59e5-4e91-bcb7-a1827d888e69
Nov 16, 2026
Merged

miguelcalderon merged 2 commits into
mainfrom
support-agent/linear-265f7f39-0603-420a-8618-7d34b802d9ad-a2b41f6c-59e5-4e91-bcb7-a1827d888e69

Conversation

@robocop-the-helper

@robocop-the-helper robocop-the-helper Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Refs SECSLOP-14 (CVE-2026-96230 / GHSA-qjpx-jqm5-h2c4)

Summary

  • No version change needed. The advisory covers Microsoft.AspNetCore.Components.WebAssembly.Server versions 8.0.0 through 8.0.31; 8.0.32 is the patched version. examples/blazor/Nutrient-BlazorWASM/Nutrient-BlazorWASM/Nutrient-BlazorWASM.csproj already pins 8.0.32 (since Fix high and critical dependency vulnerabilities #110), and it is the only reference to that package in the repo.
  • Build fix. Components/App.razor had <script src=nutrient-viewer.js"> with the opening quote missing. Razor compilation failed with RZ9980, so the example could not be built and the remediation could not be verified. This PR adds the quote.
  • Same typo in the Blazor Server example. examples/blazor/Nutrient-BlazorServer/Components/App.razor had the same missing quote. It still built with .NET SDK 10, but the page rendered a broken <script src="nutrient-viewer.js" "> tag. This PR fixes it too.

Verification

  • dotnet restore resolves Microsoft.AspNetCore.Components.WebAssembly.Server to 8.0.32 (.NET SDK 8.0.428).
  • dotnet list package --vulnerable --include-transitive finds no vulnerable packages in the server or client project.
  • dotnet build: failed before the change (RZ9980) and succeeds after it with no warnings or errors.
  • Brief local run in Development mode: the home page returns 200 and the script tag renders correctly.
  • pnpm exec biome ci . and ./scripts/check-biome-version.sh pass.
  • Blazor Server example (.NET SDK 10, run on the .NET 10 runtime): builds before and after the change; after it, the home page renders <script src="nutrient-viewer.js">.
  • Playwright smoke tests were not run: examples/blazor is excluded from e2e (no start:e2e, not a Node project).

Follow-ups

  • The repo has no NuGet lockfile, so the resolved version is pinned but not locked.
  • The client project uses Microsoft.AspNetCore.Components.WebAssembly 8.0.17, so the client and server packages are on different 8.0.x patch versions. No vulnerabilities are reported for it, and it is not covered by this advisory.

The Blazor WASM server App.razor had an unbalanced quote in the
nutrient-viewer.js script tag, so Razor compilation failed with RZ9980
and the example could not be built. That also blocked verifying
CVE-2026-96230 (GHSA-qjpx-jqm5-h2c4) remediation.

Microsoft.AspNetCore.Components.WebAssembly.Server is already pinned to
the patched 8.0.32 (since #110); restore resolves 8.0.32 and
`dotnet list package --vulnerable --include-transitive` reports no
vulnerable packages, so no version change is needed.

Refs: SECSLOP-14

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@robocop-the-helper
robocop-the-helper Bot requested a review from a team as a code owner November 13, 2026 09:15
The opening quote was missing, so the page rendered a malformed
<script src="nutrient-viewer.js" "> tag. Same fix as the WASM example.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@miguelcalderon miguelcalderon changed the title fix(blazor): fix nutrient-viewer.js script tag in WASM example; confirm CVE-2026-96230 is fixed fix(blazor): fix nutrient-viewer.js script tag in Blazor examples; confirm CVE-2026-96230 is fixed Nov 16, 2026

@miguelcalderon miguelcalderon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks good. The missing quote was stopping the Blazor WASM example from building, and adding it fixes that. I also checked the security side: the server project already uses the patched 8.0.32, and no other project uses that package, so no version change is needed.

I pushed the same one-character fix for the Blazor Server example, which was rendering a broken script tag. It might also be worth building the Blazor examples in CI, since this typo went unnoticed for over a year.

@miguelcalderon
miguelcalderon merged commit 2a7f739 into main Nov 16, 2026
3 checks passed
@miguelcalderon
miguelcalderon deleted the support-agent/linear-265f7f39-0603-420a-8618-7d34b802d9ad-a2b41f6c-59e5-4e91-bcb7-a1827d888e69 branch November 16, 2026 11:33
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