CVE-2026-5705 code-projects Online Hotel Booking Booking Endpoint booknow.php cross site scripting

Medium 5.3 Published Updated

Remote attackers can inject malicious scripts via the roomname parameter in the booking endpoint, potentially compromising user sessions.

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-5705?

CVE-2026-5705 is a medium-severity cross-site scripting vulnerability in code-projects Online Hotel Booking, published on 6 Apr 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 Hotel Booking 1.0. Affected by this vulnerability is an unknown functionality of the file /booknow.php of the component Booking Endpoint. Such manipulation of the argument roomname leads to cross site scripting. It is possible to launch the attack remotely. The exploit is publicly available and might be used.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2026-5705?

How do I fix CVE-2026-5705?

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

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

Sources

Also known as GHSA-2h66-4jhv-36vf.

Is CVE-2026-5705 in your software?

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

Check your SBOMs for free