Skip to main content

Simple Food Ordering System CVE-2025-12302

LOW
Cross-site Scripting (XSS) (CWE-79)
2025-10-27 cna@vuldb.com
2.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

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

  1. Access
    Attacker crafts malicious URL
  2. Delivery
    Delivers link via email or social engineering
  3. Exploit
    Victim clicks link within application context
  4. Execution
    Browser executes injected script
  5. Impact
    Attacker steals session cookies or credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a victim (typically an application user or administrator) to click a malicious link containing injected script payloads in at least one of three parameters: pname, category, or price in the /editproduct.php endpoint. The application must be accessible over the network (remote exposure). No authentication is required to craft or send the malicious URL (PR:N), but the attack only succeeds if a user with active session access visits the link (UI:P). No special application configuration, non-default settings, or feature enablement is mentioned in the description; the vulnerability appears present in all default installations of version 1.0. Server-side sanitation, output encoding, or CSP headers would block exploitation even if users click malicious links.

Impact

This vulnerability presents minimal real-world risk despite public POC availability. The CVSS 4.0 score of 2.1 is extremely low, reflecting the UI requirement and limited impact scope (integrity only, not confidentiality or availability). The EPSS score of 0.03% (10th percentile) strongly suggests widespread exploitation is unlikely, possibly due to: (1) the application's narrow user base (simple food ordering systems are typically deployed in small organizations), (2) the requirement for user interaction (phishing or social engineering needed), and (3) the restricted impact to session hijacking or credential theft rather than system compromise. The publicly available POC contradicts expectations of active exploitation in the wild - POC availability does NOT equal widespread attack activity. The CVSS vector shows constrained scope (S:X unclear but impact limited to VI:L), meaning blast radius is contained. Prioritize patching only if this application handles sensitive customer data (payment info, PII); if deployed internally for staff use, risk is lower.

Exploit ScenarioDerived

An attacker crafts a malicious URL containing JavaScript payload in the pname parameter (e.g., /editproduct.php?pname=<script>alert('XSS')</script>&category=test&price=10) and shares it via email or forum post targeting application administrators or staff. When a victim clicks the link and visits the page, the unvalidated input is reflected in the HTML response, executing the attacker's script in the victim's browser within the application's security context, allowing cookie theft, session hijacking, or credential harvesting.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 29, 2026

Cross-site scripting (XSS) in Simple Food Ordering System 1.0 allows remote attackers to inject malicious scripts via unsanitized input parameters (pname, category, price) in the /editproduct.php endpoint. The vulnerability requires user interaction (UI:P) but carries low integrity impact and has publicly available exploit code; EPSS probability remains minimal (0.03%) despite public POC availability, suggesting limited real-world adoption or exploitation barriers.

RemediationAI

Immediate action: Update to a patched version of Simple Food Ordering System if available from the vendor at code-projects.org or contact the developer (cna@vuldb.com or Fabian) for patch status; no specific patched version number is confirmed in available data. If no patch is available, implement the following compensating controls: (1) Apply input validation and output encoding to all product-related parameters in /editproduct.php, sanitizing user input using a whitelist (alphanumerics and safe symbols only for product names/categories, numeric validation for prices) before storage and using HTML entity encoding (htmlspecialchars() in PHP) before display in any HTML context; (2) Implement Content Security Policy (CSP) headers (e.g., Content-Security-Policy: default-src 'self'; script-src 'self') to block inline scripts and external script execution even if XSS payload reaches the browser; (3) Restrict administrative access to /editproduct.php via IP whitelisting or VPN requirements if possible, reducing phishing attack surface. Each control trades defense depth for operational complexity - CSP may break legitimate functionality if the application uses inline scripts and requires testing before deployment.

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 vulnerability stems from improper input validation in a PHP-based food ordering application. The /editproduct.php file fails to sanitize user-supplied input for the product name, category, and price parameters before reflecting them in responses, creating a classic reflected XSS condition (CWE-79: Improper Neutralization of Input During Web Page Generation). The attack vector is network-based and unauthenticated (AV:N/PR:N), meaning an attacker can craft malicious URLs and deliver them to users without authentication. However, exploitation requires user interaction (UI:P), limiting the attack surface to scenarios where an application user or administrator visits a malicious link containing injected script payloads.

Know when Simple Food Ordering System 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 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (vuldb) · only source for this CVE.

CVSS VectorVendor: vuldb

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

DescriptionCVE.org

A vulnerability was detected in code-projects Simple Food Ordering System 1.0. The affected element is an unknown function of the file /editproduct.php. Performing manipulation of the argument pname/category/price results in cross site scripting. The attack may be initiated remotely. The exploit is now public and may be used.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

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

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)CVE.org

cpe:2.3:a:fabian:simple_food_ordering_system:1.0:*:*:*:*:*:*:*
CVE-2023-0902 MEDIUM POC
5.4 Feb 18

A vulnerability was found in SourceCodester Simple Food Ordering System 1.0. Rated medium severity (CVSS 5.4), this vuln

CVE-2026-13571 MEDIUM POC
5.5 Jun 29

Price parameter manipulation in SourceCodester Simple Food Ordering System 1.0 allows unauthenticated remote attackers t

CVE-2025-6161 MEDIUM POC
5.5 Jun 17

A remote code execution vulnerability (CVSS 7.3). Risk factors: public PoC available.

CVE-2025-12378 MEDIUM POC
5.5 Oct 28

Unrestricted file upload in Simple Food Ordering System 1.0 (PHP) allows remote attackers to upload arbitrary files thro

CVE-2025-12301 MEDIUM POC
5.5 Oct 27

Unrestricted file upload in code-projects Simple Food Ordering System 1.0 allows remote attackers to upload arbitrary fi

CVE-2026-4532 MEDIUM POC
5.5 Mar 22

The Simple Food Ordering System through version 1.0 allows unauthenticated remote attackers to access sensitive database

CVE-2025-11396 MEDIUM POC
5.5 Oct 07

SQL injection in code-projects Simple Food Ordering System 1.0 allows remote unauthenticated attackers to manipulate dat

CVE-2022-2683 MEDIUM POC
5.4 Aug 05

A vulnerability, which was classified as problematic, was found in SourceCodester Simple Food Ordering System 1.0. Rated

CVE-2025-13290 LOW POC
2.1 Nov 17

A vulnerability has been found in code-projects Simple Food Ordering System 1.0. Rated medium severity (CVSS 5.3), this

CVE-2025-12300 LOW POC
2.1 Oct 27

Stored cross-site scripting (XSS) in Simple Food Ordering System 1.0 allows remote attackers to inject malicious scripts

CVE-2025-12299 LOW POC
2.1 Oct 27

Stored cross-site scripting (XSS) in Simple Food Ordering System 1.0 allows remote attackers to inject malicious scripts

CVE-2025-12298 LOW POC
2.1 Oct 27

Reflected cross-site scripting (XSS) in Simple Food Ordering System 1.0 via the pname parameter in /editcategory.php all

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