CVE-2025-28942 WordPress Trust Payments Gateway for WooCommerce plugin <= 1.1.4 - SQL Injection vulnerability
Attackers can execute arbitrary SQL commands via the Trust Payments Gateway for WooCommerce plugin, potentially accessing or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-28942?
CVE-2025-28942 is a critical SQL injection vulnerability in Trust Payments Gateway for WooCommerce, published on 26 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Trust Payments Trust Payments Gateway for WooCommerce trust-payments-hosted-payment-pages-integration allows SQL Injection.This issue affects Trust Payments Gateway for WooCommerce: from n/a through <= 1.1.4.
Weakness: CWE-89
Which versions are affected by CVE-2025-28942?
How do I fix CVE-2025-28942?
No fix has been published for CVE-2025-28942 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-28942 being exploited?
There is no known exploitation of CVE-2025-28942 in the wild and no public exploit code.
Sources
Also known as GHSA-fjvg-cccj-287m.