CVE-2022-50959 MEDIUM

CVE-2022-50959: WordPress Contact Form Builder 1.6.1 Cross-Site Scripting via code_generator.php

Vendor Wpdevart
Product Contact Form Builder
Weakness CWE-79 · XSS
Published May 10, 2026
Last update May 24, 2026

CVSS base score

5.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

What the vulnerability does

Description

WordPress Contact Form Builder 1.6.1 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious scripts by exploiting the form_id parameter. Attackers can craft malicious URLs to code_generator.php with script payloads in the form_id parameter to execute arbitrary JavaScript in victim browsers.

Key dates

Disclosure timeline

May 10, 2026 CVE published
May 24, 2026 Record updated