CVE Explorer
CVE-2026-2707
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"weForms – Easy Drag & Drop Contact Form Builder For WordPress","vendor":"boldgrid","versions":[{"lessThanOrEqual":"1.6.27","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:4cda87a20a3dd37a1676eb3103e59864bd794c97f596af7c49710cf04eb1b262 · sha256:a861c4a7a6d7c3ba… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":6.4,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:4cda87a20a3dd37a1676eb3103e59864bd794c97f596af7c49710cf04eb1b262 · sha256:a861c4a7a6d7c3ba… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4cda87a20a3dd37a1676eb3103e59864bd794c97f596af7c49710cf04eb1b262 · sha256:a861c4a7a6d7c3ba… · /containers/cna/problemTypes/0/descriptions/0
Source references
7 source assertions{"url":"https://github.com/BoldGrid/weforms/pull/263"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4cda87a20a3dd37a1676eb3103e59864bd794c97f596af7c49710cf04eb1b262 · sha256:a861c4a7a6d7c3ba… · /containers/cna/references/5
{"url":"https://plugins.trac.wordpress.org/browser/weforms/tags/1.6.27/assets/js-templates/spa-components.php#L80"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4cda87a20a3dd37a1676eb3103e59864bd794c97f596af7c49710cf04eb1b262 · sha256:a861c4a7a6d7c3ba… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/weforms/tags/1.6.27/includes/fields/class-abstract-fields.php#L542"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4cda87a20a3dd37a1676eb3103e59864bd794c97f596af7c49710cf04eb1b262 · sha256:a861c4a7a6d7c3ba… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/weforms/trunk/assets/js-templates/spa-components.php#L80"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4cda87a20a3dd37a1676eb3103e59864bd794c97f596af7c49710cf04eb1b262 · sha256:a861c4a7a6d7c3ba… · /containers/cna/references/4
{"url":"https://plugins.trac.wordpress.org/browser/weforms/trunk/includes/fields/class-abstract-fields.php#L542"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4cda87a20a3dd37a1676eb3103e59864bd794c97f596af7c49710cf04eb1b262 · sha256:a861c4a7a6d7c3ba… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3475812%40weforms%2Ftrunk&old=3457241%40weforms%2Ftrunk&sfp_email=&sfph_mail="}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4cda87a20a3dd37a1676eb3103e59864bd794c97f596af7c49710cf04eb1b262 · sha256:a861c4a7a6d7c3ba… · /containers/cna/references/6
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/e97854ca-b24f-4893-862d-f8e975752175?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4cda87a20a3dd37a1676eb3103e59864bd794c97f596af7c49710cf04eb1b262 · sha256:a861c4a7a6d7c3ba… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.