CORS Misconfiguration: XSS on Trusted Origin
If the application does implement a strict whitelist of allowed origins, the exploit codes from above do not work. But if you have an XSS on a trusted origin, you can inject the exploit coded from above in order to exploit CORS again.
https://trusted-origin.example.com/?xss=<script>CORS-ATTACK-PAYLOAD</script>
Comments
No comments yet.