Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover WordPress site with plugin
-
DeliveryEnumerate admin username via REST API
-
ExploitCraft GET to /wp-json/wp/v3/post/list with admin Username header
-
ExecutionInject SQL payload via 'order' parameter
-
PersistDatabase returns extracted rows in response
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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).
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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.
Articles & Coverage 1
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
EUVD-2026-38661
GHSA-rx79-c7q2-h79q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB