CVE-2026-5157 code-projects Online Food Ordering System Order order.php cross site scripting

Medium 5.3 Published Updated

Remote attackers can execute arbitrary scripts via the cust_id parameter in the order module of the Online Food Ordering System.

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-2026-5157?

CVE-2026-5157 is a medium-severity cross-site scripting vulnerability in code-projects Online Food Ordering System, published on 30 Mar 2026. 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 Online Food Ordering System 1.0. Affected is an unknown function of the file /form/order.php of the component Order Module. Such manipulation of the argument cust_id leads to cross site scripting. The attack may be performed from remote. The exploit is publicly available and might be used.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2026-5157?

How do I fix CVE-2026-5157?

No fix has been published for CVE-2026-5157 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-2026-5157 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5157 exists.

Sources

Also known as GHSA-c2h4-rvg7-m5f8.

Is CVE-2026-5157 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free