CVE-2023-6313 SourceCodester URL Shortener Long URL cross site scripting
Remote attackers can inject malicious scripts via the Long URL field in SourceCodester URL Shortener, potentially compromising user sessions.
- 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-6313?
CVE-2023-6313 is a low-severity cross-site scripting vulnerability in SourceCodester URL Shortener, published on 27 Nov 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 was found in SourceCodester URL Shortener 1.0. It has been declared as problematic. Affected by this vulnerability is an unknown functionality of the component Long URL Handler. The manipulation leads to cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-246139.
Weakness: CWE-79
Which versions are affected by CVE-2023-6313?
It affects 1 product.
Products include Url Shortener Project Url Shortener.
How do I fix CVE-2023-6313?
No fix has been published for CVE-2023-6313 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-6313 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-6313 exists.
Sources
Also known as GHSA-q666-2pvx-pm2j.