Hi Ionic Team,
We have created an application and when running the same on a security tool it throws below error:
Type: Client DOM Code Injection
File /www/lib/ionic/js/ionic.bundle.js
Line 51257 51255
Object location Array
Method $state.transitionTo at line 51257 of /www/lib/ionic/js/ionic.bundle.js gets a client-side controlled
data for the location element. This element’s value is used in client-side code without being properly sanitized
or validated and is eventually integrated into the HTML code in registerState at line 51225 of
/www/lib/ionic/js/ionic.bundle.js.
Since this is the library file no sure how to resolve the same.
Please help how to resolve the same.