-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Microsoft.AspNet.Mvc version from 5.10 to a greater version #41
Comments
Is this something that can't be fixed by adding the reference to your project or is something broken that would be fixed by this? We generally don't update for the sake of updating. |
@tillig Thanks for the quick update. I am requesting this as one of the security scan tools suggested that Microsoft.AspNet.MVC version 5.10 has a vulnerability of cross-site scripting which can be fixed by updating the latest Nuget package in my project. When I checked my project, I found that Autofac.MVC is using Microsoft.AspNet.MVC version 5.10. |
Have you tried adding a direct reference to the newer Microsoft.AspNet.Mvc in your project? You should be able to do that and resolve it with no change to Autofac integration. |
Yes, I did. But it still shows the issue with the Autofac only. |
This seems like a bug in your security scanning software. If you reference both the Autofac package and the updated MVC package, your app will run with the update, not the old version. It shouldn't be scanning the Autofac package in isolation. |
Problem Statement
Currently Autofac.Mvc using Microsoft.AspNet.Mvc version 5.10 which is outdated.
Desired Solution
Upgrade Microsoft.AspNet.Mvc to latest version.
Alternatives You've Considered
Additional Context
The text was updated successfully, but these errors were encountered: