CVE-2024-13021 SourceCodester Road Accident Map Marker add-mark.php cross site scripting
Remote attackers can inject malicious scripts via the add-mark.php endpoint, potentially compromising user sessions or executing code in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-13021?
CVE-2024-13021 is a medium-severity cross-site scripting vulnerability in SourceCodester Road Accident Map Marker, published on 29 Dec 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability, which was classified as problematic, has been found in SourceCodester Road Accident Map Marker 1.0. Affected by this issue is some unknown functionality of the file /endpoint/add-mark.php. The manipulation of the argument mark_name/details leads to cross site scripting. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. Other parameters might be affected as well.
Which versions are affected by CVE-2024-13021?
It affects 1 product.
Products include Rems Road Accident Map Marker.
How do I fix CVE-2024-13021?
No fix has been published for CVE-2024-13021 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-2024-13021 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-13021 exists.
Sources
Also known as GHSA-pfp6-3p25-49rj.