Skip to main content

WP Forms Connector CVE-2026-9179

| EUVDEUVD-2026-38661 HIGH
SQL Injection (CWE-89)
2026-06-24 Wordfence GHSA-rx79-c7q2-h79q
7.5
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover WordPress site with plugin
  2. Delivery
    Enumerate admin username via REST API
  3. Exploit
    Craft GET to /wp-json/wp/v3/post/list with admin Username header
  4. Execution
    Inject SQL payload via 'order' parameter
  5. Persist
    Database returns extracted rows in response
  6. Impact
    Exfiltrate password hashes and secrets

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires that the WP Forms Connector plugin (versions ≤1.8) is installed and active on a reachable WordPress site, that the /wp-json/wp/v3/post/list REST endpoint is exposed to the attacker (default for public WordPress sites), and that the attacker knows or can enumerate a valid administrator username - which is typically trivial because WordPress exposes usernames through /wp-json/wp/v2/users and author archives by default. No password, session cookie, nonce, or user interaction is required because permission_callback is '__return_true' and the in-function check validates only the 'Username' header. Exploitation is limited to environments where the plugin is installed and the REST API is not blocked by an upstream WAF or auth proxy.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (7.5 High) accurately reflects a network-exploitable, unauthenticated, low-complexity information-disclosure flaw with no integrity or availability impact - consistent with read-only SQLi extracting password hashes, secret keys, and PII from wp_users and wp_options. No EPSS score, KEV listing, or SSVC decision was provided, so widespread exploitation cannot be confirmed; however, the combination of an unauthenticated REST endpoint, a trivially bypassable auth check, and a textbook ORDER BY injection makes this highly attractive to automated WordPress scanning campaigns once disclosed. The plugin appears to be a relatively niche connector (vendor 'hancock11'), so the absolute attack surface is likely modest, but any exposed installation should be treated as imminently exploitable rather than theoretical. EPSS and KEV data are missing from the input - defenders should re-check both after public disclosure for updated exploitation probability.

Exploit ScenarioDerived

An unauthenticated attacker enumerates an administrator username via /wp-json/wp/v2/users or the author archive, then sends a GET request to /wp-json/wp/v3/post/list with a Username header naming that admin (any Password value, since it is not checked) and an 'order' query parameter containing a UNION- or time-based SQL payload. The injected SQL executes inside the ORDER BY clause of $wpdb->get_results(), allowing the attacker to exfiltrate wp_users password hashes, session tokens, and secret_key options for offline cracking or session hijack. No public exploit identified at time of analysis, but the bug is trivial to weaponize from the disclosed code references.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 24, 2026

SQL injection in the WP Forms Connector WordPress plugin (versions up to and including 1.8) allows unauthenticated remote attackers to extract sensitive database contents via the 'order' parameter of the /wp-json/wp/v3/post/list REST endpoint. The endpoint is exposed with permission_callback '__return_true' and only validates a 'Username' header against an administrator account without verifying the corresponding 'Password', making the authentication check trivially bypassable. No public exploit identified at time of analysis, but the trivial bypass and unsanitized ORDER BY concatenation make weaponization straightforward.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - the input data does not name a fixed plugin release, so administrators should upgrade to the latest WP Forms Connector version greater than 1.8 once published and monitor the Wordfence advisory (wordfence.com/threat-intel/vulnerabilities/id/2cd53590-ded1-4e68-a9a3-aa1d2d880b80) and the plugin trac for a tagged release. Until a patched version is available, deactivate and remove the plugin if not strictly required, since it is the only reliable mitigation; alternatively, block external access to the /wp-json/wp/v3/post/list REST route at the web server or WAF layer (note: this will break any legitimate consumer of that endpoint), or apply Wordfence/WAF virtual-patching rules that reject non-whitelist values in the 'order' query parameter and stacked-query payloads. Renaming or disabling well-known admin usernames reduces but does not eliminate the header-bypass risk and should not be relied on as a primary control.

Affected VersionsENISA

WP Forms Connector 0 ≤1.8

Affected Packages

euvd wp_forms_connector no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a classic CWE-89 SQL Injection occurring in the listPost() function of WP-Forms-Connector.php (around line 1244/1259), where $_GET['order'] is assigned to $shorting and concatenated unquoted into the ORDER BY clause of a query executed through $wpdb->get_results() without $wpdb->prepare(). Because the injection point is in an ORDER BY clause, common defenses like quoting do not apply, and UNION-based or stacked subquery techniques (e.g., via CASE/IF expressions or time-based payloads) are typically used. Compounding the issue, the affected REST route is registered with WordPress's permission_callback set to '__return_true', so authorization is delegated to an in-function header check that compares the 'Username' header to an administrator login but never validates the 'Password' header - meaning any attacker who knows or guesses an admin username (often discoverable via /wp-json/wp/v2/users or author archives) bypasses authentication entirely. The CPE cpe:2.3:a:hancock11:wp_forms_connector:*:*:*:*:*:*:*:* identifies the vendor 'hancock11' and product 'wp_forms_connector' on the WordPress plugin platform.

Know when Wp Forms Connector gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

Endpoint is internet-reachable with broken auth (AV:N/AC:L/PR:N/UI:N); read-only ORDER BY SQLi exfiltrates data (C:H) but does not modify or deny service (I:N/A:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

The WP Forms Connector plugin for WordPress is vulnerable to SQL Injection via the 'order' parameter of the /wp-json/wp/v3/post/list REST endpoint in versions up to and including 1.8. This is due to insufficient escaping on the user-supplied 'order' parameter (read directly from $_GET['order'] into $shorting) and the lack of sufficient preparation on the existing SQL query in the listPost() function, where the value is concatenated unquoted into the ORDER BY clause and executed via $wpdb->get_results() without $wpdb->prepare(). The endpoint is registered with permission_callback '__return_true' and performs only a broken header-based check that validates the supplied 'Username' corresponds to an administrator account while never verifying the 'Password'. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Executive ViewAI

Why It Matters

WP Forms Connector WordPress plugin versions through 1.8 contains a SQL injection vulnerability in the REST API coupled with a defective authentication control that allows attackers to extract sensitive database contents. Organizations running affected versions face immediate risk of database compromise and unauthorized access to operational data.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: Disable WP Forms Connector plugin; implement network firewall rules to block /wp-json/wp/v3/post/list endpoint access; deploy Web Application Firewall rules to detect and block SQL injection patterns in ORDER BY clauses; restrict REST API access to authenticated users if plugin remains active; enable database query logging and monitoring for injection attempts.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Low
niche WordPress plugin from minor vendor, limited install base
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy