Back to Codebase

Vulnerability Analysis Report

OpenCart Core v4.0.2.3

Scan ID: SCAN-OPENCART-CORE-vnNwkt • Hash: 7d771e0e

Severity Score
High
Total Findings
5
Engine Version
ECOMGUARD-HYBRID-AST-1.5
Scan Duration
0.414s

Vulnerability Details

L436

Potential SQL Injection in category.php

CWE-89
File Location: upload/admin/model/catalog/category.php:436
Security Score:
94 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $query = $this->db->query("SELECT COUNT(*) AS `total` FROM `" . DB_PREFIX . "category`");
+ $this->db->query("SELECT ... WHERE field = '" . $this->db->escape($variable) . "'");
L230

Potential SQL Injection in filter.php

CWE-89
File Location: upload/admin/model/catalog/filter.php:230
Security Score:
94 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $query = $this->db->query("SELECT COUNT(*) AS `total` FROM `" . DB_PREFIX . "filter_group`");
+ $this->db->query("SELECT ... WHERE field = '" . $this->db->escape($variable) . "'");
L194

Potential SQL Injection in review.php

CWE-89
File Location: upload/admin/model/catalog/review.php:194
Security Score:
94 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $query = $this->db->query("SELECT COUNT(*) AS `total` FROM `" . DB_PREFIX . "review` WHERE `status` = '0'");
+ $this->db->query("SELECT ... WHERE field = '" . $this->db->escape($variable) . "'");
L97

Potential SQL Injection in translation.php

CWE-89
File Location: upload/admin/model/design/translation.php:97
Security Score:
94 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $query = $this->db->query("SELECT COUNT(*) AS `total` FROM `" . DB_PREFIX . "translation`");
+ $this->db->query("SELECT ... WHERE field = '" . $this->db->escape($variable) . "'");
L81

Potential SQL Injection in address_format.php

CWE-89
File Location: upload/admin/model/localisation/address_format.php:81
Security Score:
94 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $query = $this->db->query("SELECT COUNT(*) AS `total` FROM `" . DB_PREFIX . "address_format`");
+ $this->db->query("SELECT ... WHERE field = '" . $this->db->escape($variable) . "'");