I know that basically every modern browser version has a cross-site-scripting blocker for XSSed URLs, as in the type of filter that actually stops a user from visiting the URL, warning them of the malice it might inflict.
But let’s say that somehow you (it doesn’t matter how) modify and mask the URL to be something else, but the actual URL has the XSS script in it.
For example, using a proxy site- for a lot of proxy sites any link that you click on appears to be exampleproxysite.com
for the URL bar, and not the XSS URL, even though it is.
However my lack of knowledge limits me from jumping to conclusions, so for all I know the actual URL (with the XSS script) might be visible to the browser and therefore susceptible to the CSP.
- Would masking the URL effect how the XSS works, and if so
- Would this bypass modern browser XSS blockers?