CVE-2021-40577 Cross-site scripting in n/a
Attackers can inject malicious scripts via the Name parameter in the Add-Users page, 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-40577?
CVE-2021-40577 is a medium-severity cross-site scripting vulnerability in n/a, published on 8 Nov 2021. 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 Stored Cross Site Scripting (XSS) vulnerability exists in Sourcecodester Online Enrollment Management System in PHP and PayPal Free Source Code 1.0 in the Add-Users page via the Name parameter.
Weakness: CWE-79
Which versions are affected by CVE-2021-40577?
It affects 1 product.
Products include Online Enrollment Management System Project Online Enrollment Management System.
How do I fix CVE-2021-40577?
No fix has been published for CVE-2021-40577 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-40577 being exploited?
There is no known exploitation of CVE-2021-40577 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-72mm-g9wv-3mp5.