---
id: CVE-2025-12931
title: A vulnerability was found in SourceCodester Food Ordering System 1.0
summary: >-
  A vulnerability was found in SourceCodester Food Ordering System 1.0. Affected
  by this vulnerability is an unknown functionality of the file
  /routers/edit-orders.php. The manipulation of the argument ID results in sql
  injection. It is po…
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-74
  - CWE-89
  - CWE-89
vendor: janobe
product: food_ordering_system
affected:
  - food_ordering_system = 1.0
published: '2025-11-10'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T21:10:00.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12931'
references:
  - url: 'https://github.com/puppytgyh/-CVE/issues/5'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/?ctiid.331651'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/?id.331651'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/?submit.682234'
    label: cna@vuldb.com
  - url: 'https://www.sourcecodester.com/'
    label: cna@vuldb.com
tags:
  - nvd
epss: 0.00323
epssPercentile: 0.23293
ingestedAt: '2026-10-07T21:54:14.999Z'
---

## Overview

A vulnerability was found in SourceCodester Food Ordering System 1.0. Affected by this vulnerability is an unknown functionality of the file /routers/edit-orders.php. The manipulation of the argument ID results in sql injection. It is possible to launch the attack remotely. The exploit has been made public and could be used.

## Affected

- `food_ordering_system = 1.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
