CVE-2026-85643: code-projects Online Shopping System SQL injection in admin adduser

CVE-2026-85643 · Severity: medium · CVSS 4.7 · Published 2026-09-04

Online Shopping System is an open-source e-commerce platform. An attacker with administrative access can inject malicious SQL code through the user creation form's phone field, allowing them to extract sensitive database information or modify records. This could expose customer payment data, personal information, and compromise the integrity of the entire system.

Technologies: Code-Projects Online Shopping System. Vendors: Code-Projects.

Quick answers

Is CVE-2026-85643 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-85643 being exploited in the wild.
How severe is CVE-2026-85643?
Medium severity, with a CVSS score of 4.7, published 4 September 2026.
Which products and versions are affected?
Code-Projects Online Shopping System 1.0.
Is there a fix for CVE-2026-85643?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-85643 attacked?
It is attacked over the network.
Am I affected by CVE-2026-85643?
Check whether you run Code-Projects Online Shopping System at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a classic SQL injection flaw in admin/adduser.php where user-supplied input from the mobile/phone field is concatenated directly into a mysqli_query INSERT statement without any sanitization or parameterized queries. The vulnerable code takes seven POST parameters (first_name, last_name, email, password, mobile, address1, address2) and passes them directly into the SQL query. An attacker with admin credentials can craft a malicious phone number containing SQL metacharacters and logic (e.g., sleep() for time-based injection) to extract data via error-based or blind injection techniques. No authentication bypass is required—the attacker must already have admin access to the /admin/adduser.php endpoint. Patching requires using prepared statements or parameterized queries with mysqli bind_param().

Affected products

  • code-projects Online Shopping System 1.0

Timeline

  • 2026-09-04: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.