DOM based XSS has been reported by Burp Suite and showed this query as vulnerable:
The application may be vulnerable to DOM-based cross-site scripting. Data is read from location and passed to jQuery() via the following statement:
jQuery("#HiddenReferral").val(jQuery(location).attr('href'));
The URL is pretty simple: http://publichost.com/technology-made-us-more-human
Is it exploitable?
location.href
instead ofjQuery(location).attr('href')
?