JavaScript

JavaScript : Cross-domain requests allowed for JQuery Mobile

Classification

Overview

Cross-domain requests are allowed for JQuery Mobile.

When jQuery Mobile attempts to load an external page, the request runs through $.mobile.loadPage(). Because the jQuery Mobile framework tracks what page is being viewed within the browser location hash, it is possible for a cross-site scripting (XSS) attack to occur if the XSS code in question can manipulate the hash and set it to a cross-domain URL of its choice. This is the main reason that the default setting for $.mobile.allowCrossDomainPages is set to false.

MEDIUM

DerScanner Severity Score

Check your JavaScript code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.