CVE-2021-42597 Cross-site scripting in n/a
An attacker can inject malicious scripts via the Add New Tenant form in the Storage Unit Rental Management System, 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-2021-42597?
CVE-2021-42597 is a medium-severity cross-site scripting vulnerability in n/a, published on 16 Sep 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 Cross Site Scripting (XSS) vulnerability exists in Sourcecodester Storage Unit Rental Management System PHP 8.0.10 , Apache 2.4.14, SURMS V 1.0 via the Add New Tenant List Rent List form.
Weakness: CWE-79
Which versions are affected by CVE-2021-42597?
It affects 1 product.
Products include Storage Unit Rental Management System Project Storage Unit Rental Management System.
How do I fix CVE-2021-42597?
No fix has been published for CVE-2021-42597 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-2021-42597 being exploited?
There is no known exploitation of CVE-2021-42597 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-2h7r-p6c6-2v49.