WordPress Plugin Vulnerabilities

Smart Forms < 2.6.96 - Admin+ Stored XSS

Description

The plugin does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup)

Proof of Concept

1. Add a new form or edit an existing form
2. In the CSS field, enter the payload `</script><script>alert(/XSS: CSS/)</script>`. In the "After Submit" section, enter the payload `<script>alert(/XSS: after submit alert /)</script>` for the "Show Alert Message".
3. View the form and then see the XSS

Affects Plugins

Fixed in 2.6.96

References

Classification

Type
XSS
CWE

Miscellaneous

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

Timeline

Publicly Published
2024-04-08 (about 1 months ago)
Added
2024-04-08 (about 1 months ago)
Last Updated
2024-04-08 (about 1 months ago)

Other