CVE-2024-58341

OpenCart Core 4.0.2.3 SQL Injection via search Parameter

Published Mar 25, 2026 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

OpenCart Core 4.0.2.3 is vulnerable to an unauthenticated SQL injection via the search parameter on the product search endpoint. An attacker can send specially crafted GET requests containing malicious SQL code that exploits insufficient input validation. The flaw allows boolean‑based blind or time‑based injection techniques, giving the attacker the ability to read sensitive data from the database, such as customer details and order information, thereby compromising confidentiality. The vulnerability is classified as CWE‑89 (SQL Injection).

Affected Systems

The affected product is Opencart OpenCart Core, specifically versions 4.0.2.3 and potentially 4.1.0.0 which contains the same code path. Systems running these versions without the latest patch are at risk.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity, while the EPSS score of less than 1% suggests that exploitation is currently unlikely in the wild. The vulnerability is not listed in the CISA KEV catalog. Exploitation can occur without authentication by sending a crafted GET request to the search endpoint, meaning that any remote visitor could potentially enumerate database contents if the attack is successful.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenCart Core to the latest release (4.1.0.0 or newer).
  • Ensure that the search parameter is properly sanitized or validated on the server side.
  • Verify that the application no longer processes raw input from the search query.
  • Monitor web application logs for suspicious search queries containing SQL syntax.

Generated by OpenCVE AI on March 27, 2026 at 20:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:opencart:opencart:4.0.2.3:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Opencart opencart
Vendors & Products Opencart opencart
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Opencart opencart Core
CPEs cpe:2.3:a:opencart:opencart:4.0.2.3:*:*:*:*:*:*:* cpe:2.3:a:opencart:opencart_core:4.0.2.3:*:*:*:*:*:*:*
cpe:2.3:a:opencart:opencart_core:4.1.0.0:*:*:*:*:*:*:*
Vendors & Products Opencart opencart
Opencart opencart Core
Type Values Removed Values Added
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.
Title OpenCart Core 4.0.2.3 SQL Injection via search Parameter
First Time appeared Opencart
Opencart opencart
Weaknesses CWE-89
CPEs cpe:2.3:a:opencart:opencart:4.0.2.3:*:*:*:*:*:*:*
Vendors & Products Opencart
Opencart opencart
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N'}

cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
May 14, 2026, 2:07 AM
Reserved
Mar 14, 2026, 9:24 PM
Status
Analyzed
Published
Mar 25, 2026, 4:16 PM
Modified
Jun 17, 2026, 8:14 AM