Vulnerability record · CVE-2022-0412 · published 28 February 2022
CVE-2022-0412: TI WooCommerce Wishlist plugin unauthenticated SQL injection
Templateinvaders · Ti Woocommerce Wishlist
The TI WooCommerce Wishlist plugin (free and Pro) before 1.40.1 fails to sanitise and escape the item_id parameter before using it in a SQL statement in the wishlist/remove_product REST endpoint. This lets unauthenticated attackers inject arbitrary SQL, which matters because the endpoint is reachable without any credentials and the flaw affects a widely deployed WordPress plugin.
Description
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 perform SQL injection attacks
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityCVSS 9.8 with no authentication or user interaction required, a public exploit reference, and very high EPSS probability make this an urgent patch.
What it is
The TI WooCommerce Wishlist plugin (free and Pro) before 1.40.1 fails to sanitise and escape the item_id parameter before using it in a SQL statement in the wishlist/remove_product REST endpoint. This lets unauthenticated attackers inject arbitrary SQL, which matters because the endpoint is reachable without any credentials and the flaw affects a widely deployed WordPress plugin.
Impact
An attacker can read, modify or delete data in the underlying WordPress database, including user credentials and other site content, and may be able to escalate to further compromise depending on database privileges.
Attack surface
Reached over the network via the plugin's wishlist/remove_product REST endpoint; no authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N).
Exploitation
Not listed in CISA KEV, but EPSS is very high (0.73998, 99.457th percentile) and a public exploit reference is tagged on the WPScan advisory, indicating active interest and likely weaponisation.
What to do
- Update TI WooCommerce Wishlist (and Pro) to 1.40.1 or later immediately.
- If patching is not possible, disable the plugin or block access to the wishlist/remove_product REST endpoint.
- Deploy a WAF rule targeting SQL injection patterns on the wishlist REST route.
- Audit the WordPress database and user accounts for signs of tampering after exposure.
- Restrict database account privileges used by WordPress to the minimum required.
Detection
- Monitor web server and WAF logs for requests to the wishlist/remove_product endpoint containing SQL metacharacters or UNION/SELECT patterns.
- Review database query logs for anomalous statements originating from the WordPress application.
- Check for unexpected changes to WordPress users, options or content tables.
- Alert on unauthenticated POST/GET requests to plugin REST routes from unusual source IPs.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://plugins.trac.wordpress.org/changeset/2668899 | Release NotesThird Party Advisory |
| https://wpscan.com/vulnerability/e984ba11-abeb-4ed4-9dad-0bfd539a9682 | ExploitThird Party Advisory |
| https://plugins.trac.wordpress.org/changeset/2668899 | Release NotesThird Party Advisory |
| https://wpscan.com/vulnerability/e984ba11-abeb-4ed4-9dad-0bfd539a9682 | ExploitThird Party Advisory |
Track CVE-2022-0412 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-0412), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.