CVE-2021-37781 Cross-site scripting in n/a
An attacker can inject malicious scripts into the employee profile editing page, potentially stealing user data or hijacking 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-37781?
CVE-2021-37781 is a medium-severity cross-site scripting vulnerability in n/a, published on 28 Oct 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
Employee Record Management System v 1.2 is vulnerable to Cross Site Scripting (XSS) via editempprofile.php.
Weakness: CWE-79
Which versions are affected by CVE-2021-37781?
It affects 1 product.
Products include Phpgurukul Employee Record Management System.
How do I fix CVE-2021-37781?
No fix has been published for CVE-2021-37781 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-37781 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-37781 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-888x-qw5v-x2w5.