The presence of ScriptResource.axd in your application indicates that it is still being used to serve scripts, which may include older versions of jQuery. Here are the answers to your questions:
- Why does
ScriptResource.axdstill get requested even after overriding jQuery usingScriptResourceMapping?
TheScriptResource.axdhandler is part of the ASP.NET framework that serves embedded scripts. If there are any ASP.NET controls or components in your application that depend on the older jQuery version, they may still reference it, causing the request toScriptResource.axdto occur. - Does the presence of
ScriptResource.axdmean that the old jQuery version is still being executed, or is it only serving other ASP.NET WebForms scripts?
TheScriptResource.axdmay serve other ASP.NET scripts and not necessarily the old jQuery version if your application is configured to use the updated version. However, if any components are still referencing the old version, it could still be executed. - Is it possible (or supported) to completely remove or disable the framework-embedded jQuery from
ScriptResource.axdin an ASP.NET WebForms application?
While you can override the jQuery version usingScriptResourceMapping, completely removing the framework-embedded jQuery fromScriptResource.axdis not typically supported. You should ensure that all components in your application are updated to use the new version to avoid any references to the old version. - From a security perspective, does the presence of an older jQuery inside
ScriptResource.axdpose a vulnerability if the active runtime version is jQuery 3.7.1?
If your application is actively using jQuery 3.7.1 and not referencing the older version, it should not pose a security risk. However, if any part of your application inadvertently uses the older version, it could expose vulnerabilities present in that version. - What is the recommended and supported way to demonstrate that the application is actually using the updated jQuery version and that the
ScriptResource.axdrequest is not a security risk?
You can use browser developer tools to inspect the loaded scripts and confirm that jQuery 3.7.1 is being executed. Additionally, ensure that all components and scripts in your application are updated to reference the new version, and conduct security assessments to verify that no vulnerabilities are present in the active scripts.
By following these steps, you can ensure that your application is secure and using the correct version of jQuery.