CVE-2026-2707

Source
https://cve.org/CVERecord?id=CVE-2026-2707
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2707.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-2707
Published
2026-03-11T05:27:17.695Z
Modified
2026-07-15T01:49:04.171308967Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
Summary
weForms <= 1.6.27 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Hidden Field Value via REST API
Details

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 WPRESTRequest 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2707.json",
    "cna_assigner": "Wordfence",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/boldgrid/weforms

Affected ranges

Type
GIT
Repo
https://github.com/boldgrid/weforms
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.6.27"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

1.*
1.2.9
1.4.6
1.4.7
1.4.8
1.4.9
1.5.2
1.6.10
1.6.10-rc1
1.6.11
1.6.12
1.6.13
1.6.14
1.6.14-rc1
1.6.15
1.6.16
1.6.17
1.6.18
1.6.19
1.6.20
1.6.21
1.6.22
1.6.24
1.6.26
1.6.27
1.6.3
1.6.4
1.6.5
1.6.6
1.6.7
1.6.8
1.6.9
v1.*
v1.0
v1.0.0-beta.1
v1.0.0-beta.2
v1.0.0-beta.3
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.1.0
v1.1.1
v1.2.1
v1.2.2
v1.2.4
v1.2.5
v1.2.6
v1.2.7
v1.2.8
v1.3
v1.3.1
v1.3.2
v1.3.3
v1.3.4
v1.3.5
v1.3.6
v1.3.7
v1.3.8
v1.3.9
v1.4.0
v1.4.1
v1.4.2
v1.4.3
v1.5.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2707.json"