CVE-2022-2072 Name Directory < 1.25.3 - Reflected Cross-Site Scripting
Attackers can inject malicious scripts via unsanitized parameters, leading to reflected and stored XSS in the Name Directory WordPress plugin.
- 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-2072?
CVE-2022-2072 is a medium-severity cross-site scripting vulnerability in Unknown Name Directory, published on 25 Jul 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
The Name Directory WordPress plugin before 1.25.3 does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting. Furthermore, as the payload is also saved into the database after the request, it leads to a Stored XSS as well
Weakness: CWE-79
Which versions are affected by CVE-2022-2072?
It affects 1 product.
Products include Name Directory Project Name Directory.
How do I fix CVE-2022-2072?
No fix has been published for CVE-2022-2072 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-2072 being exploited?
There is no known exploitation of CVE-2022-2072 in the wild and no public exploit code.
Other vulnerabilities in Unknown Name Directory
Sources
Also known as GHSA-mg3f-7p64-q5jf.