Back to Codebase

Vulnerability Analysis Report

OpenCart Core v4.0.0.0

Scan ID: SCAN-OPENCART-CORE-VUSaW4 • Hash: 160c8865

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

Vulnerability Details

L176

Potential SQL Injection in filter.php

CWE-89
File Location: upload/admin/model/catalog/filter.php:176
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) . "'");
L173

Potential SQL Injection in option.php

CWE-89
File Location: upload/admin/model/catalog/option.php:173
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 . "option`");
+ $this->db->query("SELECT ... WHERE field = '" . $this->db->escape($variable) . "'");
L104

Potential SQL Injection in subscription_plan.php

CWE-89
File Location: upload/admin/model/catalog/subscription_plan.php:104
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 . "subscription_plan`");
+ $this->db->query("SELECT ... WHERE field = '" . $this->db->escape($variable) . "'");
L35

Potential SQL Injection in theme.php

CWE-89
File Location: upload/admin/model/design/theme.php:35
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 . "theme`");
+ $this->db->query("SELECT ... WHERE field = '" . $this->db->escape($variable) . "'");
L370

Potential SQL Injection in category.php

CWE-89
File Location: upload/admin/model/catalog/category.php:370
Security Score:
93 / 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) . "'");