Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed /login.php endpoint
-
ExploitSend crafted SQLi payload in Username field
-
ExecutionBypass authentication check or extract database rows
-
ImpactAccess application as privileged user or dump credentials
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 | No authentication or session token is required - the vulnerable parameter is the Username field in the unauthenticated login form at /login.php, accessible to any network client that can reach the web server (AV:N, PR:N, UI:N in the CVSS vector). The application must be running and the /login.php endpoint must be reachable. No non-default configuration is required; the vulnerability exists in the default login flow. Exploitation is limited to environments running SourceCodester Simple and Nice Shopping Cart Script 1.0 (or unpatched versions) on a PHP/MySQL stack. Constraints: the impact is bounded by the database permissions granted to the application's DB user - if least-privilege is enforced, data exfiltration may be limited to the shopping cart schema only. |
| Impact | The CVSS 4.0 base score of 5.5 (Medium) with vector AV:N/AC:L/AT:N/PR:N/UI:N reflects low-complexity, unauthenticated network exploitation with limited confidentiality, integrity, and availability impact (VC:L/VI:L/VA:L). The E:P supplemental metric confirms a publicly available exploit, which is a meaningful escalating signal beyond the base score alone. No EPSS data was provided and this CVE is not in CISA KEV, suggesting exploitation has not been observed at scale. However, the presence of a public POC (GitHub issue linked in references) substantially lowers the barrier to exploitation - any opportunistic actor can weaponize this without advanced skill. The primary limiting factor on real-world risk is prevalence: SourceCodester scripts are typically used in hobbyist, student, or low-traffic small business sites, reducing enterprise exposure. The CVSS impact being rated Low (not High) across all dimensions suggests the database or application scope is limited, though authentication bypass via SQLi on a login endpoint could still grant full application-level access. No conflicting signals in the available data. |
| Exploit ScenarioDerived | An unauthenticated attacker sends an HTTP POST request to /login.php with a crafted Username value such as ' OR '1'='1'-- or a UNION-based payload, causing the backend SQL query to return true or extract database rows. A public POC demonstrates this technique, meaning minimal skill is required to reproduce it. Successful exploitation could allow authentication bypass, enumeration of user credentials stored in the database, or further pivoting if database credentials have elevated privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 09, 2026
SQL injection in SourceCodester Simple and Nice Shopping Cart Script 1.0 allows unauthenticated remote attackers to manipulate the Username parameter on /login.php, potentially bypassing authentication or extracting database contents. A publicly available proof-of-concept exploit exists, published via a GitHub issue and documented in VulDB entry 377116. No CISA KEV listing is present, but the combination of network accessibility, no authentication requirement, and a live POC makes this a practical risk for any exposed deployment.
RemediationAI
No vendor-released patch has been identified at time of analysis. The most direct remediation is to replace string concatenation in the /login.php SQL query with parameterized queries or prepared statements using PHP's PDO or MySQLi extensions - this eliminates the injection surface entirely. As a compensating control, a web application firewall (WAF) rule blocking common SQL metacharacters (single quotes, double dashes, UNION, SELECT keywords) in the Username POST parameter can reduce exploitation risk, though WAF bypass techniques exist and this is not a permanent fix. Additionally, restricting public internet access to the login endpoint via IP allowlist - if the application audience is known - eliminates the network-exposed attack surface entirely. If the application is not actively maintained, the most defensible action is to decommission or replace it. The VulDB entry at https://vuldb.com/vuln/377116 and the POC at https://github.com/zainaakinyi45-boop/cve/issues/1 should be reviewed for any updated patch information.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
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 (cpe:2.3:a:sourcecodester:simple_and_nice_shopping_cart_script:*:*:*:*:*:*:*:*). The vulnerability is classified under CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), meaning user-supplied input - specifically the Username field submitted to /login.php - is passed directly or insufficiently sanitized into an SQL query. This is a classic unsanitized string concatenation pattern common in legacy PHP applications that do not use parameterized queries or prepared statements. The wildcard CPE version string suggests all known releases of the script may be affected, not just 1.0.
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 unauthenticated login form with no user interaction; limited C/I/A impact consistent with a single-application SQLi scope and no privilege escalation beyond app DB user.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability was detected in SourceCodester Simple and Nice Shopping Cart Script 1.0. This affects an unknown part of the file /login.php. Performing a manipulation of the argument Username results in sql injection. Remote exploitation of the attack is possible. The exploit is now public and may 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.
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 exposes the admin login interface to remote una
SQL injection in SourceCodester Simple and Nice Shopping Cart Script 1.0 enables remote attackers to manipulate backend
Simple And Nice Shopping Cart Script versions up to 1.0 contains a security vulnerability (CVSS 7.3).
EUVD-2026-42615
GHSA-486j-3xr5-53qr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB