Junglewise Threat Intelligence

CVE-2026-9278: CodePeople Form Builder CP Stored XSS in form_structure

CVE-2026-9278 · Severity: info · CVSS 3.5 · Published 2026-06-15

Vendors: CodePeople.

Executive brief

The Form Builder CP plugin for WordPress, which is used to create and manage contact forms, contains a security flaw that allows users with Editor-level access to inject malicious scripts into forms. When a regular visitor or administrator views a page containing the compromised form, the script executes in their browser. This could lead to unauthorized actions being performed on behalf of the victim or the theft of sensitive session information.

Technical details

A Stored Cross-Site Scripting (XSS) vulnerability exists in the Form Builder CP plugin for WordPress due to insufficient sanitization of the 'form_structure' configuration value. Specifically, the 'ftype' parameter within the form structure is used in a client-side 'eval()' call (e.g., eval("new "+ftype+"()")) without proper validation. An authenticated attacker with Editor-level privileges or higher can inject a malicious JavaScript payload into this field. This payload executes in the context of any user who visits a page where the affected form is rendered via shortcode, even on multisite installations where 'unfiltered_html' is disabled. The issue is fixed in version 1.2.47.

Affected products

  • CodePeople Form Builder CP (cp-easy-form-builder) < 1.2.47

Timeline

  • 2026-05-25: disclosed: Publicly published by WPScan
  • 2026-05-25: patched: Fixed in version 1.2.47
  • 2026-06-15: advisory: NVD published date

References