Description
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.
Published: 2026-07-09
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SourceCodester Simple and Nice Shopping Cart Script version 1.0 includes a flaw in login.php where the Username field is inserted directly or parameterization. This condition permits a remote attacker to execute arbitrary SQL code, which can lead to unauthorized read or alteration of database contents, and potentially full compromise of the application’s data layer. The flaw is cataloged as CWE‑74 and CWE‑89 and carries a CVSS score of 6.9, indicating moderate severity.

Affected Systems

The affected product is SourceCodester Simple and Nice Shopping Cart Script, version 1.0. Any deployment that includes the /login.php file and has not applied a vendor patch is vulnerable. No other variants or patches are known as of the advisory. The product’s source code is openly available, which may assist attackers in identifying the affected code.

Risk and Exploitability

The exploit is remote, targeting the /login.php endpoint; the EPSS score is below 1 %, indicating a low current probability of exploitation. However, public exploit code exists, and remote access provides a potential attack vector if the endpoint is reachable. The vulnerability is not in the CISA KEV catalog, but the CVSS of 6.9 combined with remote access rises a measurable risk, particularly for deployments that expose the login endpoint without additional controls.

Generated by OpenCVE AI on July 26, 2026 at 15:14 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply an updated version of SourceCodester Simple and Nice Shopping Cart Script that removes the insecure handling of the Username parameter.
  • If an update is not available, modify the login.php code to use prepared statements or parameterized queries for any database interactions involving user-supplied values.
  • Deploy a web application firewall rule that rejects suspicious payloads containing SQL syntax elements (e.g., single quotes, semicolons, or keywords such as UNION), and monitor the login endpoint for abnormal activity.

Generated by OpenCVE AI on July 26, 2026 at 15:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 09 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 09 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Description 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.
Title SourceCodester Simple and Nice Shopping Cart Script login.php sql injection
First Time appeared Sourcecodester
Sourcecodester simple And Nice Shopping Cart Script
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:sourcecodester:simple_and_nice_shopping_cart_script:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester simple And Nice Shopping Cart Script
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': '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'}


Subscriptions

Sourcecodester Simple And Nice Shopping Cart Script
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-09T17:14:09.187Z

Reserved: 2026-07-09T05:22:21.460Z

Link: CVE-2026-15190

cve-icon Vulnrichment

Updated: 2026-07-09T17:13:58.696Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T15:15:03Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')