SQL Injection Affecting opencart/opencart package, versions >=4.0.2.3, <4.1.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-OPENCARTOPENCART-15798285
  • published28 Mar 2026
  • disclosed25 Mar 2026
  • creditSaud Alenazi

Introduced: 25 Mar 2026

NewCVE-2024-58341  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade opencart/opencart to version 4.1.0.0 or higher.

Overview

opencart/opencart is a shopping cart system

Affected versions of this package are vulnerable to SQL Injection via the search parameter. An attacker can manipulate database queries and extract sensitive information by injecting malicious SQL code through crafted GET requests to the product search endpoint.

CVSS Base Scores

version 4.0
version 3.1