Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

188
Views
Blazor Server JsInterops and DotNetReference: How much vulnerable does the system become?

I was reading this article on the microsoft docs https://docs.microsoft.com/en-us/aspnet/core/blazor/security/server/threat-mitigation?view=aspnetcore-6.0 and I was wondering if a malicious user could just change for example an object that I pass from javascript to Blazor where I deserialize it but instead make it execute a very bad command like formatting the machine or calling .Net functions on singleton services that are injected in the Blazor component. I need to call js and .net back and forth because I'm using a js library to display graphs and other stuff that is interactive and exchange objects. I'm just a junior so I don't know if i would annoying my superiors by showing them these concerns since we aren't working for a big public. I don't take strings from js that I then pass to the database for query, absolutely not. But I dont know how much can an injected malicious object make itself call c# code once deserialized in the Blazor component, other than causing an exception on their own browser.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!