It seems that unknown pages does not require authentication, and this allows unauthorized users to see and click on the sidebar menu, header and footer of my app.
We have taken this from the default Blazor application template when individual security is enabled (e.g. via running dotnet new blazorserver --auth Individual). Here is how it looks like: