CVE-2022-0412
SQLi in Templateinvaders Ti Woocommerce Wishlist ≤ 1.40.1
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSummary
CVE-2022-0412 is a critical-severity SQL Injection (CWE-89) vulnerability in Templateinvaders Ti Woocommerce Wishlist. Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 0.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and SI-2 (Flaw Remediation) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
The TI WooCommerce Wishlist and TI WooCommerce Wishlist Pro WordPress plugins before version 1.40.1 contain an SQL injection vulnerability tracked as CVE-2022-0412. The flaw stems from missing sanitization and escaping of the item_id parameter when it is passed to a SQL statement through the wishlist/remove_product REST endpoint, corresponding to CWE-89. The issue received a CVSS 3.1 score of 9.8.
Unauthenticated attackers can reach the vulnerable endpoint over the network and supply crafted input to execute arbitrary SQL queries. Successful exploitation can result in full compromise of the confidentiality, integrity, and availability of the affected WordPress site and its database.
The official patches referenced in the WordPress plugin repository update both the free and Pro editions to version 1.40.1, adding proper input handling for the item_id parameter. Administrators are advised to apply the update promptly; the WPScan advisory entry also documents the same remediation steps.
The associated EPSS score currently stands at 0.8586 with a recorded peak of 0.8793, indicating sustained exploitation interest after disclosure.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-15556
Vulnerability Data
The TI WooCommerce Wishlist WordPress plugin before 1.40.1, TI WooCommerce Wishlist Pro WordPress plugin before 1.40.1 do not sanitise and escape the item_id parameter before using it in a SQL statement via the wishlist/remove_product REST endpoint, allowing unauthenticated attackers to…
more
perform SQL injection attacks
- CWE(s)
Related Threats
Likely ATT&CK TechniquesAI
Techniques this vulnerability likely enables, inferred from its description, weakness type, and attributed-actor tradecraft. Confidence is per-technique.
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
Mitigating Controls (NIST 800-53 r5) AI
Directly requires validation and sanitization of the item_id parameter before it is used in SQL statements via the REST endpoint.
Enforces authorization checks on the wishlist/remove_product endpoint so unauthenticated attackers cannot reach the vulnerable SQL path.
Requires prompt application of the vendor patch (v1.40.1) that adds proper escaping of item_id and eliminates the SQL injection flaw.
Mitigating Controls (NIST CSF 2.0) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.
Secure SDLC practices directly target injection flaws during coding and review so largely prevent CWE-89 introduction, yet the single broad outcome leaves residual risk from incomplete neutralization techniques or missed edge cases.
Training raises developer awareness of SQLi risks and can reduce introduction likelihood (partial) but removes none of the actual coding flaw's risk by itself since technical neutralization is still required.
Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.
The same secure-coding and static-analysis activities surface missing neutralization of SQL metacharacters before the system is accepted.
Early warnings and shared best-practice information help organizations apply the latest remediation techniques against SQL-injection vulnerabilities.
Threat-intelligence feeds that surface new SQL-injection campaigns enable rapid updates to query-construction defenses and detection signatures before exploitation occurs.
Secure-coding rules and security testing phases mandate the use of parameterized queries or equivalent escaping, preventing the construction of dynamic SQL statements from untrusted input.
Language-specific secure coding rules, peer review and SAST together prevent the construction of SQL statements from untrusted data without proper parameterization or escaping.