CVE-2024-58341 OpenCart Core 4.0.2.3 SQL Injection via search Parameter

High 8.8 Published Updated

Unauthenticated attackers can extract sensitive database information via SQL injection in the product search parameter of OpenCart.

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-2024-58341?

CVE-2024-58341 is a high-severity SQL injection vulnerability in OpenCart Core, published on 25 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

OpenCart Core 4.0.2.3 contains a SQL injection vulnerability that allows unauthenticated attackers to manipulate database queries by injecting SQL code through the 'search' parameter. Attackers can send GET requests to the product search endpoint with malicious 'search' values to extract sensitive database information using boolean-based blind or time-based blind SQL injection techniques.

Weakness: CWE-89

Which versions are affected by CVE-2024-58341?

It affects 1 product.

Products include Opencart Opencart.

How do I fix CVE-2024-58341?

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

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

Sources

Also known as GHSA-rchp-2wh9-pwpw.

Is CVE-2024-58341 in your software?

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

Check your SBOMs for free