vendor:
Elementor Contact Form Builder
by:
Mohammed Chemouri
6.1
CVSS
MEDIUM
Unauthenticated Stored Cross-Site Scripting (XSS)
79
CWE
Product Name: Elementor Contact Form Builder
Affected Version From: <= 3.1.2
Affected Version To: Unknown
Patch Exists: NO
Related CWE: CVE-2023-0084
CPE: a:metform:elementor_contact_form_builder:3.1.2
Platforms Tested: WordPress version 6.1.1, PHP version 8.0.27 (64bit)
2023
Metform Elementor Contact Form Builder v3.1.2 – Unauthenticated Stored Cross-Site Scripting (XSS)
An unauthenticated attacker can insert a persistent malicious JavaScript code via the text-area field and because the input is not properly sanitized the XSS will be executed each time the victim visits the affected post. An attacker can steal admin’s session or credentials e.g., using a phishing attack (display fake login page) and may install a JavaScript backdoor like the Browser Exploitation Framework (BeeF). ,etc.
Mitigation:
All fields must be properly sanitized and escaped before being displayed in the browser. WordPress already offers an API for this purpose.