SB2020052522 - Stored cross-site scripting in Add-on SweetAlert Contact Form 7 plugin for WordPress
Published: May 25, 2020 Updated: June 2, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Stored cross-site scripting (CVE-ID: N/A)
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in "post-auth" in "tittle" field of the "Error Alert" and "Success Alert" sections of the plugin's settings page. A remote authenticated attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
PoC:
Enter the following payload in the Title field of the Error Alert or Success Alert section in the plugin's settings: "onfocus=alert(/XSS/) autofocus="autofocus
Remediation
Install update from vendor's website.