Repository navigation
fix(blazor): fix nutrient-viewer.js script tag in Blazor examples; confirm CVE-2026-96230 is fixed - #121
Merged
Conversation
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>
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
approved these changes
Nov 16, 2026
miguelcalderon
left a comment
Contributor
There was a problem hiding this comment.
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
deleted the
support-agent/linear-265f7f39-0603-420a-8618-7d34b802d9ad-a2b41f6c-59e5-4e91-bcb7-a1827d888e69
branch
November 16, 2026 11:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs SECSLOP-14 (CVE-2026-96230 / GHSA-qjpx-jqm5-h2c4)
Summary
Microsoft.AspNetCore.Components.WebAssembly.Serverversions 8.0.0 through 8.0.31; 8.0.32 is the patched version.examples/blazor/Nutrient-BlazorWASM/Nutrient-BlazorWASM/Nutrient-BlazorWASM.csprojalready pins 8.0.32 (since Fix high and critical dependency vulnerabilities #110), and it is the only reference to that package in the repo.Components/App.razorhad<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.examples/blazor/Nutrient-BlazorServer/Components/App.razorhad 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 restoreresolvesMicrosoft.AspNetCore.Components.WebAssembly.Serverto 8.0.32 (.NET SDK 8.0.428).dotnet list package --vulnerable --include-transitivefinds 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.pnpm exec biome ci .and./scripts/check-biome-version.shpass.<script src="nutrient-viewer.js">.examples/blazoris excluded from e2e (nostart:e2e, not a Node project).Follow-ups
Microsoft.AspNetCore.Components.WebAssembly8.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.