CVE-2023-28662 SQL injection in Gift Cards (Gift Vouchers and Packages) WordPress Plugin

Critical 9.8 Published Updated

Unauthenticated attackers can perform SQL injection via the template parameter in the Gift Cards WordPress 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-2023-28662?

CVE-2023-28662 is a critical SQL injection vulnerability in Gift Cards (Gift Vouchers and Packages) WordPress Plugin, published on 22 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Gift Cards (Gift Vouchers and Packages) WordPress Plugin, version <= 4.3.1, is affected by an unauthenticated SQL injection vulnerability in the template parameter in the wpgv_doajax_voucher_pdf_save_func action.

Weakness: CWE-89

Which versions are affected by CVE-2023-28662?

It affects 1 product.

Products include Codemenschen Gift Vouchers.

How do I fix CVE-2023-28662?

No fix has been published for CVE-2023-28662 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-2023-28662 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-28662 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-9c49-3qrv-gxfp.

Is CVE-2023-28662 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free