CVE-2026-78198: SQL Injection in SourceCodester Simple Online Food Ordering System
SourceCodester Simple Online Food Ordering System version 1.0 contains a SQL injection vulnerability in the /fos/admin/ajax.php?action=add_to_cart endpoint. The vulnerability arises from improper handling of the pid parameter, allowing remote attackers to inject SQL commands. This issue has a medium severity rating with a CVSS score of 6.9. There is no official patch or remediation guidance currently available. Public exploit details have been disclosed, but no known widespread exploitation has been reported.
AI Analysis
Technical Summary
CVE-2026-78198 is a SQL injection vulnerability affecting SourceCodester Simple Online Food Ordering System version 1.0. The flaw exists in the processing of the pid argument in the /fos/admin/ajax.php?action=add_to_cart file, which allows an attacker to inject malicious SQL code remotely. The vulnerability has been publicly disclosed, and exploit code may be available. The CVSS 4.0 base score is 6.9, indicating medium severity with network attack vector, no privileges or user interaction required, and low impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL commands on the backend database, potentially leading to unauthorized data access or modification. The impact is rated as medium severity, reflecting limited but meaningful risk to the affected system's data integrity and confidentiality.
Mitigation Recommendations
No official patch or remediation has been published by the vendor. Users should monitor the vendor's advisory channels for updates. Until a fix is available, consider restricting access to the vulnerable endpoint or implementing web application firewall (WAF) rules to detect and block SQL injection attempts targeting the pid parameter.
CVE-2026-78198: SQL Injection in SourceCodester Simple Online Food Ordering System
Description
SourceCodester Simple Online Food Ordering System version 1.0 contains a SQL injection vulnerability in the /fos/admin/ajax.php?action=add_to_cart endpoint. The vulnerability arises from improper handling of the pid parameter, allowing remote attackers to inject SQL commands. This issue has a medium severity rating with a CVSS score of 6.9. There is no official patch or remediation guidance currently available. Public exploit details have been disclosed, but no known widespread exploitation has been reported.
CVSS v4.0
Score 6.9medium
Affected software
cpe:2.3:a:sourcecodester:simple_online_food_ordering_system:*:*:*:*:*:*:*:*AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-78198 is a SQL injection vulnerability affecting SourceCodester Simple Online Food Ordering System version 1.0. The flaw exists in the processing of the pid argument in the /fos/admin/ajax.php?action=add_to_cart file, which allows an attacker to inject malicious SQL code remotely. The vulnerability has been publicly disclosed, and exploit code may be available. The CVSS 4.0 base score is 6.9, indicating medium severity with network attack vector, no privileges or user interaction required, and low impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL commands on the backend database, potentially leading to unauthorized data access or modification. The impact is rated as medium severity, reflecting limited but meaningful risk to the affected system's data integrity and confidentiality.
Mitigation Recommendations
No official patch or remediation has been published by the vendor. Users should monitor the vendor's advisory channels for updates. Until a fix is available, consider restricting access to the vulnerable endpoint or implementing web application firewall (WAF) rules to detect and block SQL injection attempts targeting the pid parameter.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-08-23T22:35:19.462Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8bd8afacd9273b490324be
Added to database: 08/24/2026, 05:37:51 UTC
Last enriched: 08/24/2026, 05:52:06 UTC
Last updated: 08/24/2026, 06:12:02 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.