CVE-2026-30529

SQL Injection in SourceCodester Online Food Ordering System v1.0

Published Mar 27, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
A SQL Injection vulnerability exists in SourceCodester Online Food Ordering System v1.0 in the Actions.php file (specifically the save_user action). The application fails to properly sanitize user input supplied to the "username" parameter. This allows an authenticated attacker to inject malicious SQL commands.

Analysis

AI-generated

Technical impact

The system fails to sanitize user input supplied to the "username" parameter in the save_user action within Actions.php. This flaw permits an attacker to inject malicious SQL commands, potentially allowing unauthorized reading, modifying, or deleting data in the database. The weakness is classified as CWE-89, a typical SQL injection vulnerability.

Affected Systems

The vulnerability affects the SourceCodester Online Food Ordering System, version 1.0, as identified by the provided CPE string. No other versions or vendors are listed, so only this specific release is at risk.

Risk and Exploitability

With a CVSS base score of 8.8, the vulnerability is high severity. The EPSS indicates a probability of exploitation below 1%, and it is not listed in the CISA KEV catalog. The likely attack vector is a network‑based, authenticated attack: the user must be logged in to input the vulnerable username field. Exploitation could lead to data leakage, tampering, or privilege escalation within the application.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply an official patch that sanitizes the username field in the save_user action.
  • Rewrite the affected code to use prepared statements or parameterized queries for all database interactions.
  • Restrict the database account used by the application to the minimum privileges required.
  • Implement input validation on the username field to block characters or patterns that could be used in SQL injection.
  • Monitor authentication and database logs for anomalous activity that may indicate exploitation attempts.

Generated by OpenCVE AI on March 30, 2026 at 18:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title SQL Injection in SourceCodester Online Food Ordering System v1.0
Type Values Removed Values Added
First Time appeared Oretnom23
Oretnom23 online Food Ordering System
CPEs cpe:2.3:a:oretnom23:online_food_ordering_system:1.0:*:*:*:*:*:*:*
Vendors & Products Oretnom23
Oretnom23 online Food Ordering System
Type Values Removed Values Added
First Time appeared Sourcecodester
Sourcecodester online Food Ordering System
Vendors & Products Sourcecodester
Sourcecodester online Food Ordering System
Type Values Removed Values Added
Title Authenticated SQL Injection in SourceCodester Online Food Ordering System
Type Values Removed Values Added
Title Authenticated SQL Injection in SourceCodester Online Food Ordering System
Type Values Removed Values Added
Weaknesses CWE-89
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A SQL Injection vulnerability exists in SourceCodester Online Food Ordering System v1.0 in the Actions.php file (specifically the save_user action). The application fails to properly sanitize user input supplied to the "username" parameter. This allows an authenticated attacker to inject malicious SQL commands.
References
Weaknesses
  • CWE-89

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

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Mar 27, 2026, 8:01 PM
Reserved
Mar 4, 2026, 12:00 AM
Status
Analyzed
Published
Mar 27, 2026, 4:16 PM
Modified
Nov 11, 2026, 7:10 PM