Skip to main content

Shopping Cart Script CVE-2026-14652

MEDIUM
SQL Injection (CWE-89)
2026-07-04 VulDB
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify internet-facing /admin/login.php endpoint
  2. Delivery
    Send HTTP POST with SQL payload in Username field
  3. Exploit
    Bypass authentication via always-true SQL condition
  4. Execution
    Access admin panel as unauthenticated user
  5. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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
vuln.today AI 7.3 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jul 04, 2026 - 21:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)

DescriptionCVE.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

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Rare
hobbyist PHP script, negligible production enterprise footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)CVE.org

cpe:2.3:a:sourcecodester:simple_and_nice_shopping_cart_script:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy