CVE-2023-4870 SourceCodester Contact Manager App Contact Information index.php cross site scripting
Attacker can inject malicious scripts via contactID parameter in Contact Manager App, potentially stealing user sessions or executing code.
- 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-2023-4870?
CVE-2023-4870 is a low-severity cross-site scripting vulnerability in SourceCodester Contact Manager App, published on 10 Sep 2023. 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 Contact Manager App 1.0. This affects an unknown part of the file index.php of the component Contact Information Handler. The manipulation of the argument contactID with the input "><sCrIpT>alert(1)</ScRiPt> leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-239355.
Weakness: CWE-79
Which versions are affected by CVE-2023-4870?
It affects 1 product.
Products include Contact Manager App Project Contact Manager App.
How do I fix CVE-2023-4870?
No fix has been published for CVE-2023-4870 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-2023-4870 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-4870 exists.
Other vulnerabilities in SourceCodester Contact Manager App
- CVE-2023-4871 SourceCodester Contact Manager App delete.php sql injection
- CVE-2023-4872 SourceCodester Contact Manager App add.php sql injection
- CVE-2023-4868 SourceCodester Contact Manager App add.php cross-site request forgery
- CVE-2023-4869 SourceCodester Contact Manager App update.php cross-site request forgery
Sources
Also known as GHSA-w2h2-mm7x-x5ph.