Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-2707: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in boldgrid weForms – Easy Drag & Drop Contact Form Builder For WordPress

0
Medium
VulnerabilityCVE-2026-2707cvecve-2026-2707cwe-79
Published: Wed Mar 11 2026 (03/11/2026, 05:27:17 UTC)
Source: CVE Database V5
Vendor/Project: boldgrid
Product: weForms – Easy Drag & Drop Contact Form Builder For WordPress

Description

The weForms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the REST API entry submission endpoint in all versions up to, and including, 1.6.27. This is due to inconsistent input sanitization between the frontend AJAX handler and the REST API endpoint. When entries are submitted via the REST API (`/wp-json/weforms/v1/forms/{id}/entries/`), the `prepare_entry()` method in `class-abstract-fields.php` receives the WP_REST_Request object as `$args`, bypassing the `weforms_clean()` fallback that sanitizes `$_POST` data for frontend submissions. The base field handler only applies `trim()` to the value. This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject arbitrary web scripts into form entry hidden field values via the REST API that execute when an administrator views the form entries page, where data is rendered using a Vue.js `v-html` directive without escaping.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 11:31:19 UTC

Technical Analysis

The weForms plugin for WordPress suffers from a stored XSS vulnerability in its REST API entry submission endpoint. The root cause is inconsistent sanitization: frontend submissions sanitize input via the weforms_clean() function, but REST API submissions bypass this and only apply trim() to input values. This allows authenticated attackers with Subscriber-level privileges or higher to inject arbitrary JavaScript into hidden form fields. When an administrator views the entries page, the injected scripts execute because the data is rendered using Vue.js's v-html directive without escaping. This vulnerability affects all versions up to and including 1.6.27.

Potential Impact

An attacker with at least Subscriber-level access can inject malicious scripts into form entries via the REST API. These scripts execute in the context of an administrator's browser when viewing the form entries page, potentially leading to session hijacking, privilege escalation, or other malicious actions limited to the administrator's privileges. The vulnerability does not impact availability and requires authenticated access, but it compromises integrity and confidentiality to a limited extent.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict REST API access to trusted users only and avoid granting Subscriber-level or higher privileges to untrusted users. Administrators should be cautious when viewing form entries submitted via the REST API. Monitor official boldgrid advisories for updates and patches.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-02-18T19:24:22.125Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69b0fdcf2f860ef9432e28e6

Added to database: 3/11/2026, 5:29:51 AM

Last enriched: 4/9/2026, 11:31:19 AM

Last updated: 4/23/2026, 8:26:20 PM

Views: 63

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses