CVE-2025-12298 code-projects Simple Food Ordering System editcategory.php cross site scripting
Remote attackers can inject malicious scripts via the pname argument in editcategory.php, potentially compromising user sessions or executing code.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-12298?
CVE-2025-12298 is a medium-severity cross-site scripting vulnerability in code-projects Simple Food Ordering System, published on 27 Oct 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A vulnerability was identified in code-projects Simple Food Ordering System 1.0. This affects an unknown part of the file /editcategory.php. The manipulation of the argument pname leads to cross site scripting. It is possible to initiate the attack remotely. The exploit is publicly available and might be used.
Which versions are affected by CVE-2025-12298?
It affects 1 product.
Products include Fabian Simple Food Ordering System.
How do I fix CVE-2025-12298?
No fix has been published for CVE-2025-12298 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-12298 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-12298 exists.
Other vulnerabilities in code-projects Simple Food Ordering System
- CVE-2025-12378 code-projects Simple Food Ordering System addproduct.php unrestricted upload
- CVE-2025-12301 code-projects Simple Food Ordering System editproduct.php unrestricted upload
- CVE-2025-11396 code-projects Simple Food Ordering System product.php sql injection
- CVE-2025-6161 SourceCodester Simple Food Ordering System editproduct.php unrestricted upload
- CVE-2025-13290 code-projects Simple Food Ordering System saveorder.php sql injection
Sources
Also known as GHSA-v477-vfvp-p23v.