CVE-2022-31897 Cross-site scripting in n/a
An attacker can inject malicious scripts into the visitor registration page, potentially stealing user sessions or executing code in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-31897?
CVE-2022-31897 is a medium-severity cross-site scripting vulnerability in n/a, published on 29 Jun 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
SourceCodester Zoo Management System 1.0 is vulnerable to Cross Site Scripting (XSS) via public_html/register_visitor?msg=.
Weakness: CWE-79
Which versions are affected by CVE-2022-31897?
It affects 1 product.
Products include Phpgurukul Zoo Management System.
How do I fix CVE-2022-31897?
No fix has been published for CVE-2022-31897 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-2022-31897 being exploited?
There is no known exploitation of CVE-2022-31897 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-xccr-4rr9-j42p.