Shopping Cart Script CVE-2026-14652
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-facing /admin/login.php endpoint
-
DeliverySend HTTP POST with SQL payload in Username field
-
ExploitBypass authentication via always-true SQL condition
-
ExecutionAccess admin panel as unauthenticated user
-
ImpactExfiltrate or modify database contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attack targets /admin/login.php, which is accessible without any prior authentication - this is the pre-auth login endpoint itself, meaning no credentials, session tokens, or special privileges are required to reach the vulnerable parameter. The Username field in the HTTP POST body is the sole injection point. No special server configuration, feature flag, or non-default setting is required; the vulnerability is present in the default installation of version 1.0. Exploitation is limited to deployments where the admin login page is network-accessible (internet-facing or reachable from the attacker's network segment). The only realistic limiting factor is network reachability: instances deployed exclusively on localhost or behind strict firewall rules blocking external access to /admin/ are not directly exploitable from the internet, though internal attackers or SSRF chains could still reach it. |
| Impact | The CVSS 4.0 base score of 6.9 with vector AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L reflects a network-accessible, zero-prerequisite attack with moderate combined impact. Individual impact metrics are rated Low rather than High, which may understate authentication-bypass scenarios where SQL injection against a login page could grant full admin access - a scenario whose severity exceeds VC:L/VI:L alone. The E:P maturity modifier confirms a public proof-of-concept exists on GitHub, meaningfully compressing time-to-exploitation for unskilled attackers. No EPSS data was provided in the intelligence set; given the trivial attack path and public POC, real-world exploitation probability is likely elevated above the base score implies. The absence of a CISA KEV listing suggests exploitation has not been confirmed at scale, which is consistent with the product's niche deployment footprint. The primary risk is opportunistic compromise of any internet-exposed admin panel, not a targeted campaign - defenders should weigh that the exploit requires no credentials, no special configuration, and no user interaction. |
| Exploit ScenarioDerived | An attacker sends an HTTP POST request to /admin/login.php with a crafted Username value such as ' OR '1'='1'-- , causing the backend SQL query to evaluate as always-true and bypassing authentication to gain admin panel access without valid credentials. A public proof-of-concept is available at https://github.com/Yuesswor/cve/issues/2, enabling script-kiddie-level exploitation with no specialized knowledge. From the admin panel, the attacker can enumerate or exfiltrate the underlying database contents, modify product listings, or potentially upload malicious files depending on admin functionality exposed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 04, 2026
SQL injection in SourceCodester Simple and Nice Shopping Cart Script 1.0 exposes the admin login interface to remote unauthenticated attackers through unsanitized input in the Username parameter of /admin/login.php. The CVSS 4.0 score of 6.9 (Medium) reflects limited per-request impact (VC:L/VI:L/VA:L), but a publicly available proof-of-concept exploit (E:P) on GitHub substantially lowers the exploitation bar for opportunistic attackers. No KEV listing exists at time of analysis; however, the trivial attack complexity (AC:L, AT:N, PR:N, UI:N) combined with public exploit code makes any internet-facing deployment of this script an immediate remediation priority.
RemediationAI
No vendor-released patch has been identified at time of analysis. If source code access is available, the primary fix is to replace direct SQL string concatenation in /admin/login.php with parameterized queries using PHP's PDO or MySQLi prepared statements - this eliminates the injection vector entirely. As an immediate compensating control, restrict access to the /admin/ directory to trusted IP ranges via web server configuration (Apache .htaccess AllowFrom or nginx allow/deny directives); this limits the attack surface to known management networks but does not fix the underlying flaw and may be bypassed if an attacker has network access to an allowed range. Deploying a web application firewall rule blocking SQL metacharacters (single quotes, double dashes, UNION, SELECT keywords) in POST body parameters is an additional layer but carries a risk of false positives on legitimate input. If the application is not actively used in production, take it offline entirely. Monitor VulDB entry https://vuldb.com/vuln/376165 and sourcecodester.com for any future patch release.
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 affected application is a PHP-based e-commerce script distributed by SourceCodester (sourcecodester.com), a platform offering free PHP/MySQL scripts primarily for educational and demonstration use. The CPE string cpe:2.3:a:sourcecodester:simple_and_nice_shopping_cart_script:*:*:*:*:*:*:*:* covers all versions, with version 1.0 confirmed as affected. CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) identifies the root cause: the Username parameter passed to /admin/login.php is concatenated directly into an SQL query without parameterization or prepared statements, allowing an attacker to inject arbitrary SQL syntax. This is a classic first-generation SQLi pattern common in legacy PHP applications that use mysql_query() or similar unsanitized query construction rather than PDO or MySQLi with bound parameters.
Know when Simple And Nice Shopping Cart Script 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:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-accessible login page requires no credentials (PR:N), trivial SQLi with no special conditions (AC:L), limited per-request impact consistent with CVSS 4.0 VC/VI/VA:L baseline.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability was found in SourceCodester Simple and Nice Shopping Cart Script 1.0. This affects an unknown function of the file /admin/login.php of the component Admin Login. The manipulation of the argument Username results in sql injection. The attack may be launched remotely. The exploit has been made public and could 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
A vulnerability classified as critical was found in SourceCodester Simple and Nice Shopping Cart Script. Rated critical
File Upload vulnerability in Simple and Nice Shopping Cart Script v.1.0 allows a remote attacker to execute arbitrary co
A vulnerability was found in SourceCodester Simple and Nice Shopping Cart Script. Rated high severity (CVSS 8.8), this v
A vulnerability has been found in SourceCodester Simple and Nice Shopping Cart Script and classified as problematic. Rat
A vulnerability was found in SourceCodester Simple and Nice Shopping Cart Script 1.0. Rated critical severity (CVSS 9.8)
SQL injection in SourceCodester Simple and Nice Shopping Cart Script 1.0 enables remote, unauthenticated attackers to ma
SQL injection in SourceCodester Simple and Nice Shopping Cart Script 1.0 enables remote attackers to manipulate backend
SQL injection in SourceCodester Simple and Nice Shopping Cart Script 1.0 allows unauthenticated remote attackers to mani
Simple And Nice Shopping Cart Script versions up to 1.0 contains a security vulnerability (CVSS 7.3).
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB