Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Lisandro Martinez WPSmartContracts wp-smart-contracts allows Blind SQL Injection.This issue affects WPSmartContracts: from n/a through <= 2.0.12.
Security readout for executives and security teams
Plain-English summary
CVE-2025-31565 is a critical SQL injection issue in the WordPress WPSmartContracts plugin. A remote unauthenticated attacker may be able to infer database contents through blind SQL injection. The provided sources do not name a fixed version or confirm exploitation in the wild.
Executive priority
Prioritize immediately for any public WordPress site using this plugin. The severity is critical because the reported issue is remotely reachable without authentication and may expose database information, but exploitation is not confirmed by the supplied sources.
Technical view
The CVE describes CWE-89 improper neutralization in wp-smart-contracts through version 2.0.12. CVSS 3.1 is 9.3 with network attack, low complexity, no privileges, no user interaction, changed scope, high confidentiality impact, and low availability impact. Integrity impact is listed as none.
Likely exposure
Exposure is most likely on public WordPress sites with the WPSmartContracts plugin installed at version 2.0.12 or earlier. The source bundle has inconsistent affected-version metadata, so teams should verify installed plugin name, package slug, and version directly.
Exploitation context
The bundle marks CISA KEV as false and provides no cited evidence of active exploitation. The CVSS vector indicates remote unauthenticated reachability, making internet-facing WordPress deployments the main concern if the plugin is present.
Researcher notes
The Patchstack URL mentions 2.0.10 while the CVE description states through 2.0.12, and the affected metadata is sparse. Do not assume a fixed version from the bundle. Validate against authoritative vendor or repository data before closing exposure.
Mitigation direction
Inventory WordPress sites for wp-smart-contracts and confirm installed versions.
Check vendor, WordPress plugin, CVE, and Patchstack guidance for a fixed release.
If no fix is available, disable or remove the plugin temporarily.
Restrict administrative access and monitor affected sites closely.
Back up and review databases on sites where the plugin was exposed.
Validation and detection
Confirm whether WPSmartContracts is installed on each WordPress instance.
Record plugin version and compare against the reported affected range.
Review web and database logs for unusual errors or abnormal query behavior.
Check for unexpected WordPress accounts, content changes, or database anomalies.
Track vendor advisories until remediation details are confirmed.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-89: Database access and collection lookup
Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.