CVE-2025-12302: code-projects Simple Food Ordering System · Cross Site Scripting
Affects code-projects Simple Food Ordering SystemSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- 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:PExploitation evidence
Disclosed: evidence found.
CVE published 27 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| code-projects Simple Food Ordering System | Affected
| Fixed in– |
AI-suggested
1. Implement strict server-side input validation and sanitization for all user-supplied parameters, especially pname, category, and price, to ensure that no executable scripts can be injected. 2. Apply proper output encoding (e.g., HTML entity encoding) before rendering user inputs in web pages to prevent script execution. 3. Deploy Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts and reduce the impact of potential XSS attacks. 4. Monitor web server logs and web application firewall (WAF) alerts for suspicious requests targeting /editproduct.php or containing script payloads. 5. Educate staff and users about the risks of clicking on suspicious links and encourage reporting of unusual website behavior. 6. If available, apply official patches or updates from the vendor promptly; if not, consider upgrading to a more secure ordering system. 7. Conduct regular security assessments and penetration testing focusing on input validation and client-side script execution. 8. Isolate the ordering system within a segmented network zone to limit lateral movement if compromised.
Description
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.