Skip to main content
CVE-2025-8165VulnerabilityPublished

CVE-2025-8165: code-projects Food Review System · SQL Injection

Affects code-projects Food Review 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.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Jul 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 Food Review SystemAffected
  • =1.0
Fixed in–

AI-suggested

1. Restrict access to the /admin/approve_reservation.php endpoint by implementing network-level controls such as IP whitelisting or VPN access to limit exposure to trusted administrators only. 2. Employ Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection patterns targeting the 'occasion' parameter. 3. Conduct immediate code review and implement input validation and parameterized queries or prepared statements for all database interactions involving user-supplied data, especially the 'occasion' parameter. 4. Monitor logs for unusual database errors or suspicious requests targeting the vulnerable endpoint to detect potential exploitation attempts. 5. If possible, isolate the Food Review System in a segmented network zone to minimize lateral movement in case of compromise. 6. Engage with the vendor or community to obtain or develop patches and apply them promptly once available. 7. Educate administrative users about the risk and encourage strong authentication mechanisms to reduce the risk of unauthorized access. 8. Regularly backup database contents to enable recovery in case of data manipulation or loss.

Description

A vulnerability was found in code-projects Food Review System 1.0 and classified as critical. This issue affects some unknown processing of the file /admin/approve_reservation.php. The manipulation of the argument occasion leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

References

Community reviews

Loading reviews…