Lucene search

K
wpexploitAndreas Damen WPEX-ID:8AD824A6-2D49-4F02-8252-393C59AA9705
HistoryMay 16, 2023 - 12:00 a.m.

Contact Form Email < 1.3.38 - Unauthenticated Stored Cross-Site Scripting

2023-05-1600:00:00
Andreas Damen
51
contact form email
unauthenticated
stored cross-site scripting
frontend
backend
messages
edit
xss

0.001 Low

EPSS

Percentile

32.6%

The plugin does not escape submitted values before displaying them in the HTML, leading to a Stored XSS vulnerability.

1. Publish the default form to a page by clicking on "Contact Form to Email" in the sidebar, and the "Publish" button beside the form name.
2. Visit the form on the frontend. Fill in the Email and Subject with arbitrary, valid values. Fill in the Message field with `</textarea><img src=x onerror=alert(/XSS/)>`
3. Submit the form.
4. In the backend, on the "Contact Form to Email" page, click on "Messages" and click the "Edit" button corresponding to the new message.
5. See the XSS has been triggered.

0.001 Low

EPSS

Percentile

32.6%

Related for WPEX-ID:8AD824A6-2D49-4F02-8252-393C59AA9705