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

Published May 10, 2026
·
Updated

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.

Affected Software

1 affected component
WordPress Contact Form Builder=1.6.1

Event History

May 10, 2026
CVE Published
via MITRE·12:12 PM
Data Sourced
via MITRE·12:12 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-50959?

CVE-2022-50959 is classified as a high-severity cross-site scripting vulnerability.

2

How do I fix CVE-2022-50959?

To fix CVE-2022-50959, update the WordPress Contact Form Builder plugin to the latest version.

3

Who is affected by CVE-2022-50959?

CVE-2022-50959 affects users of WordPress Contact Form Builder version 1.6.1.

4

What attack vectors does CVE-2022-50959 expose?

CVE-2022-50959 exposes attack vectors for unauthenticated attackers to exploit the form_id parameter.

5

Is CVE-2022-50959 easily exploitable?

CVE-2022-50959 is considered easy to exploit, allowing attackers to inject malicious scripts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203