---
id: "CVE-2026-114381"
kind: "vulnerability"
aliases: ["CVE-2026-114381"]
title: "Online Cake Ordering System: SQL injection via orderdetail.php ID parameter"
severity: "medium"
cvss: 6.5
epss: 0.00261
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["package", "php", "self-hosted", "web-app"]
not_affected_if: ["not-deployed", "page-not-exposed"]
published_at: "2026-10-21T22:16:48+00:00"
first_seen_at: "2026-10-23T21:57:29+00:00"
updated_at: "2026-10-25T03:48:50+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-114381", "first_seen_at": "2026-10-23T21:57:29+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-114381", "first_seen_at": "2026-10-24T13:15:54+00:00"}]
---

# Online Cake Ordering System: SQL injection via orderdetail.php ID parameter

The itsourcecode Online Cake Ordering System 1.0 passes the ID argument of /orderdetail.php into a database query without proper sanitization. A remote attacker can inject SQL to read or alter the application's database, and the exploit has been publicly disclosed.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check whether the application runs itsourcecode Online Cake Ordering System version `1.0` by reviewing the project files or deployment record
- Look for the file `orderdetail.php` in the web root and review how the `ID` parameter is used in its SQL queries
- unknown for any other check, as the sources do not say

## Fix

- unknown: the sources do not name a patched version or vendor fix
- Restrict access to `orderdetail.php` at the web server or until the query is changed to use prepared statements with bound parameters

## Timeline

- 2026-10-23T21:57:29+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-114381
- 2026-10-24T13:15:54+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2026-114381

## From the sources

A vulnerability was determined in itsourcecode Online Cake Ordering System 1.0. The affected element is an unknown function of the file /orderdetail.php. Executing a manipulation of the argument ID can lead to sql injection. The attack may be performed from remote. The exploit has been publicly disclosed and may be utilized.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
