I have a page where I just want to transfer the request to another page. There is no server programming available only HTML for this particular client (I can only use javascript / jquery). They have a process when they want to transfer a couple of parameters to the pricing page, for example:
http:
On the price page, all I want to do is collect the full request (? Affiliate = 123 & store = 345) and transfer it to the application page:
http:
If I use the following javascript to link to the pricing page to pass them to the application page, can I submit any cross-site scripts or other vulnerabilities?
<script type="text/javascript">document.write('<a href="http://www.mydomain.com/application.html'+location.search+'">Apply Now</a>');</script>
source share