CVE-2022-2292 SourceCodester Hotel Management System Room Edit Page 1 cross site scripting
An attacker can inject malicious scripts into the Room Edit page of the Hotel Management System, potentially executing code in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-2292?
CVE-2022-2292 is a low-severity cross-site scripting vulnerability in SourceCodester Hotel Management System, published on 12 Jul 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A vulnerability classified as problematic has been found in SourceCodester Hotel Management System 2.0. Affected is an unknown function of the file /ci_hms/massage_room/edit/1 of the component Room Edit Page. The manipulation of the argument massageroomDetails with the input "><script>alert("XSS")</script> leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Weakness: CWE-79
Which versions are affected by CVE-2022-2292?
It affects 1 product.
Products include Hotel Management System Project Hotel Management System.
How do I fix CVE-2022-2292?
No fix has been published for CVE-2022-2292 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-2022-2292 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2292 exists.
Other vulnerabilities in SourceCodester Hotel Management System
Sources
Also known as GHSA-pvq5-gf3m-8h69.