CVE-2022-2684 SourceCodester Apartment Visitor Management System manage-apartment.php cross site scripting
Remote attackers can inject malicious scripts via the Apartment Number field in the SourceCodester Apartment Visitor Management System.
- 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-2684?
CVE-2022-2684 is a low-severity cross-site scripting vulnerability in SourceCodester Apartment Visitor Management System, published on 5 Aug 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 has been found in SourceCodester Apartment Visitor Management System 1.0 and classified as problematic. This vulnerability affects unknown code of the file /manage-apartment.php. The manipulation of the argument Apartment Number with the input <script>alert(1)</script> leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-205672.
Weakness: CWE-79
Which versions are affected by CVE-2022-2684?
It affects 1 product.
Products include Apartment Visitors Management System Project Apartment Visitors Management System.
How do I fix CVE-2022-2684?
No fix has been published for CVE-2022-2684 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-2684 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2684 exists.
Other vulnerabilities in SourceCodester Apartment Visitor Management System
- CVE-2022-44139 SQL injection in n/a
- CVE-2021-38833 SQL injection in n/a
- CVE-2022-2772 SourceCodester Apartment Visitor Management System action-visitor.php sql injection
- CVE-2022-2677 SourceCodester Apartment Visitor Management System index.php sql injection
- CVE-2022-2773 SourceCodester Apartment Visitor Management System profile.php cross site scripting
Sources
Also known as GHSA-w8mq-wxx4-4675.