WordPress Plugin Vulnerabilities

FormCraft < 1.2.7 - 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

There are two XSS issues:

Example A:

1. Create a new form.
2. Go to settings and then to custom messages.
3. In form sent replace message sent with <script>alert(1)</script> payload.

Example B:

1. Go to add field and then add email.
2. In label change your email to <script>alert(1)</script> payload
3. Now return to your submissions and click on the recent submission you made to see the XSS.

Affects Plugins

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
Sayandeep Dutta
Submitter
Sayandeep Dutta
Verified
Yes

Timeline

Publicly Published
2023-08-02 (about 9 months ago)
Added
2023-08-02 (about 9 months ago)
Last Updated
2023-08-18 (about 8 months ago)

Other