vendor:
WPForms
by:
Jinson Varghese Behanan
5.4
CVSS
MEDIUM
Persistent Cross-Site Scripting
79
CWE
Product Name: WPForms
Affected Version From: 1.5.8.2
Affected Version To: 1.5.8.2
Patch Exists: YES
Related CWE: CVE-2020-10385
CPE: a:wpforms:wpforms:1.5.8.2
Platforms Tested: WordPress
2020
WordPress Plugin WPForms 1.5.8.2 – Persistent Cross-Site Scripting
The Form Description and Field Description fields in the WPForms plugin’s Form Builder module was found to be vulnerable to stored XSS, as they did not sanitize user given input properly. While they do not pose high security threat being an authenticated XSS vulnerability, an attacker can potentially exploit this to perform malicious actions on a WordPress multisite installation to have a super admin’s cookies sent to the attacker or redirect the super admin to another domain, for example, a phishing page designed to show that they have been logged out and would need to log back in, thus compromising their credentials. The form builder’s “preview” function was also vulnerable to reflected XSS.
Mitigation:
Update to the latest version of WPForms (1.5.8.3 or above) which includes a fix for this vulnerability. Additionally, it is recommended to sanitize and validate user input before storing or displaying it.