WordPress Plugin Vulnerabilities
POST SMTP Mailer < 2.7.1 - Unauthenticated Cross-site Scripting
Description
The plugin does not escape email message content before displaying it in the backend, allowing an unauthenticated attacker to perform XSS attacks against highly privileged users.
Proof of Concept
1. Install Post SMTP in version <= 2.7.0 and configure it. 2. Send email using any contact form which uses 'wp_mail' function. Include the following payload in the message: <img src=x onerror=alert(document.domain)> 3. Visit /wp-admin/admin.php?page=postman_email_log (Post SMTP -> Email Log) 4. Click 'View' next to the first record. 5. The message is shown and JavaScript code is executed.
Affects Plugins
References
CVE
Classification
Type
XSS
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Marcin Węgłowski (AFINE Team)
Submitter
Marcin Węgłowski (AFINE Team)
Submitter website
Submitter twitter
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2023-11-06 (about 1 months ago)
Added
2023-11-06 (about 1 months ago)
Last Updated
2023-11-06 (about 1 months ago)