Skip to main content
CVE-2025-12298VulnerabilityPublished

CVE-2025-12298: code-projects Simple Food Ordering System · Cross Site Scripting

Affects code-projects Simple Food Ordering SystemSource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
code-projects Simple Food Ordering SystemAffected
  • =1.0
Fixed in–

AI-suggested

To mitigate CVE-2025-12298, European organizations should implement the following specific measures: 1) Apply input validation on the pname parameter to reject or sanitize any input containing script tags or suspicious characters before processing. 2) Implement context-appropriate output encoding (e.g., HTML entity encoding) to ensure that any user-supplied data rendered in the web page cannot be interpreted as executable code. 3) Deploy a web application firewall (WAF) configured to detect and block common XSS attack patterns targeting the affected endpoint. 4) If possible, upgrade to a patched version of the Simple Food Ordering System once available or apply vendor-provided patches promptly. 5) Conduct security awareness training for staff to recognize phishing attempts that may leverage this vulnerability. 6) Regularly audit and monitor web application logs for suspicious activities related to the /editcategory.php endpoint. 7) Consider implementing Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. These targeted actions go beyond generic advice and address the root cause and exploitation vectors specific to this vulnerability.

Description

CVE-2025-12298 is a medium severity cross-site scripting (XSS) vulnerability in version 1.0 of the code-projects Simple Food Ordering System, specifically in the /editcategory.php file via the pname parameter. The vulnerability allows remote attackers to inject malicious scripts without requiring authentication, though user interaction is needed to trigger the attack. Exploits are publicly available, increasing the risk of exploitation. While no known active exploitation has been reported, affected systems remain vulnerable. The impact primarily concerns client-side attacks such as session hijacking, credential theft, or defacement. European organizations using this software, especially in the food service sector, should prioritize patching or mitigating this issue. Countries with higher adoption of this product or with strategic food service industries are more likely to be affected. Mitigations include input validation, output encoding, and deploying web application firewalls tailored to detect XSS payloads.

References

Community reviews

Loading reviews…