WordPress Plugin Vulnerabilities

WordPress Forms by Pie Forms < 1.4.9.4 - Admin+ Stored Cross-Site Scripting

Description

The plugin does not sanitise and escape some of its form fields, which could allow high privilege users such as admin to perform Cross-Site Scripting attacks when unfiltered_html is disallowed

Proof of Concept

Create/edit a form, go to the Form Settings -> General Settings and put the following payload in the "Form Name", "Form Description" and "Successful form submission message": <script>alert(/XSS/)</script>, and tick the "Enable Form Title / Name on Front End" as well as "Enable Form Description Front End" checkboxes

Save the form. The XSS will be triggered in pages/post where the form is embed, and after the form is sent

Affects Plugins

Fixed in 1.4.9.4

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
Hitesh Kumar
Submitter
Hitesh Kumar
Submitter website
Verified
Yes

Timeline

Publicly Published
2022-05-12 (about 2 years ago)
Added
2022-05-12 (about 2 years ago)
Last Updated
2022-05-12 (about 2 years ago)

Other