code-projects E-Commerce Website CVE-2025-11597
LOWAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid user credentials
-
DeliveryAuthenticate to application
-
ExploitSubmit crafted SQL injection in prod_id parameter
-
ExecutionUnsanitized parameter incorporated into query
-
PersistSQL injection executes against database
-
ImpactData exfiltrated
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Exploitation requires valid authentication credentials (user account) to access the /pages/product_add_qty.php endpoint, as indicated by PR:L in the CVSS vector. The application must be running version 1.0. The prod_id parameter must be injectable and reflected in a SQL query context without sanitization. Remote network access to the application is required (AV:N). No special application configuration, non-default settings, or specific deployment modes are indicated as necessary; the vulnerability exists by default in the affected version. The low attack complexity (AC:L) indicates that standard SQL injection techniques without obfuscation or timing attacks are likely effective. |
| Impact | Despite the CVSS 4.0 score of 2.1 suggesting low severity, several factors warrant closer examination. The EPSS score of 0.03% (8th percentile) indicates very low real-world exploitation probability, suggesting that attackers may not actively target this vulnerability at scale. However, authentication is required (PR:L in CVSS vector), which significantly limits attack surface compared to unauthenticated SQL injection - attackers must first obtain valid user credentials or compromise an existing session. The public availability of exploit code creates a tool-based risk for targeted attacks against specific deployments. The limited impact scope (VC:L, VI:L, VA:L with SC:N, SI:N, SA:N) indicates that even successful exploitation does not provide system-wide access or enable privilege escalation. This appears to be a low-risk vulnerability suitable for standard patching cycles rather than emergency response, particularly given the credential requirement and narrow impact. |
| Exploit ScenarioDerived | An authenticated user or attacker who has obtained valid credentials sends a crafted HTTP request to /pages/product_add_qty.php with a malicious SQL injection payload in the prod_id parameter, such as prod_id=1' UNION SELECT database() -- . The unsanitized parameter is concatenated into a SQL query, causing the injected SQL to execute against the backend database. Depending on database permissions and query structure, the attacker could extract product pricing data, customer information, or other sensitive database contents. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SQL injection in code-projects E-Commerce Website 1.0 allows authenticated remote attackers to manipulate the prod_id parameter in /pages/product_add_qty.php, potentially leading to unauthorized database access or data disclosure. The vulnerability has a CVSS score of 2.1 with low impact across confidentiality, integrity, and availability, but public exploit code exists and may lower the exploitation barrier despite the requirement for prior authentication.
RemediationAI
Apply input validation and parameterized queries to /pages/product_add_qty.php immediately. Replace direct SQL string concatenation with prepared statements or parameterized queries using PHP PDO or mysqli with bound parameters. Implement whitelist validation for the prod_id parameter to accept only numeric values if product IDs are expected to be numeric. Additionally, apply Web Application Firewall (WAF) rules to detect and block common SQL injection patterns in the prod_id parameter as a compensating control while patches are being tested. The primary remediation requires developer review and code patching; no vendor-released patch version is documented in the provided data, so coordinate with code-projects for availability of a patched release or apply the fixes directly if source code access is available. Test all changes thoroughly in a staging environment to ensure the product quantity addition functionality remains operational after parameter binding implementation.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in a PHP-based e-commerce application where user-supplied input from the prod_id parameter is not properly sanitized before being incorporated into SQL queries. This is a classic CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component) violation manifesting as SQL injection. The affected file /pages/product_add_qty.php processes product quantity additions without adequate input validation or parameterized query use. The CPE cpe:2.3:a:fabian:e-commerce_website:1.0 indicates this is version 1.0 of the application, suggesting a relatively immature codebase with minimal security hardening.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was identified in code-projects E-Commerce Website 1.0. The impacted element is an unknown function of the file /pages/product_add_qty.php. The manipulation of the argument prod_id leads to sql injection. The attack is possible to be carried out remotely. The exploit is publicly available and might be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)CVE.org
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB