CVE-2026-2707
Last modified
CVE-2026-2707 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-2707?
How severe is CVE-2026-2707?
How do I fix CVE-2026-2707?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-27064Editor Arbitrary File Upload in Mailster <= 4.1.17 versions.9.1
- CVE-2026-27065Improper Control of Filename for Include/Require Statement i…9.8
- CVE-2026-27066Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-27067Unrestricted Upload of File with Dangerous Type vulnerabilit…9.1
- CVE-2026-27068Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2026-27069Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2026-27070Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2026-27071Missing Authorization vulnerability in Arraytics WPCafe wp-c…9.1
- CVE-2026-27072Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2026-27073Use of Hard-coded Credentials vulnerability in Addi Addi – C…7.5
- CVE-2026-27074Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2026-27075Improper Control of Filename for Include/Require Statement i…8.1
Are you affected by CVE-2026-2707?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
