Cyber Resilience

CVE-2022-0412

SQLi in Templateinvaders Ti Woocommerce Wishlist ≤ 1.40.1

Public PoCHigh EPSSSQLi
Published
28 February 2022
Modified
21 November 2024
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.74 99.4th percentile
Risk Priority 97 floored blend · peak EPSS

Summary

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

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.

T1190 Exploit Public-Facing Application Initial Accessconfidence: HIGH
Unauthenticated SQL injection via a public REST endpoint directly enables exploitation of a public-facing web application.
inferred from description + CWE · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2024-9156Same product: Templateinvaders Ti Woocommerce Wishlist
CVE-2024-43917Same product: Templateinvaders Ti Woocommerce Wishlist
CVE-2024-32087Same product class: WordPress / CMS plugin
CVE-2024-43943Same product class: WordPress / CMS plugin
CVE-2024-0399Same product class: WordPress / CMS plugin
CVE-2024-1776Same product class: WordPress / CMS plugin
CVE-2024-3055Same product class: WordPress / CMS plugin
CVE-2023-2841Same product class: WordPress / CMS plugin
CVE-2024-47331Same product class: WordPress / CMS plugin
CVE-2024-4779Same product class: WordPress / CMS plugin

Affected Assets

templateinvaders
ti woocommerce wishlist
≤ 1.40.1 · ≤ 1.40.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-10 Information Input Validation
  • AC-3 Access Enforcement
  • SI-2 Flaw Remediation
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V6.2.5

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires validation and sanitization of the item_id parameter before it is used in SQL statements via the REST endpoint.

prevent

Enforces authorization checks on the wishlist/remove_product endpoint so unauthenticated attackers cannot reach the vulnerable SQL path.

prevent

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.

PR.PS-06 mostly match
prevents

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.

PR.AT-02 partial match
prevents

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.

detects

The same secure-coding and static-analysis activities surface missing neutralization of SQL metacharacters before the system is accepted.

prevents

Early warnings and shared best-practice information help organizations apply the latest remediation techniques against SQL-injection vulnerabilities.

prevents

Threat-intelligence feeds that surface new SQL-injection campaigns enable rapid updates to query-construction defenses and detection signatures before exploitation occurs.

prevents

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.

prevents

Language-specific secure coding rules, peer review and SAST together prevent the construction of SQL statements from untrusted data without proper parameterization or escaping.

References