CVE-2022-2071 Name Directory < 1.25.4 - Stored Cross-Site Scripting via CSRF

Medium 6.1 Published Updated

Attackers can inject malicious scripts via CSRF in the Name Directory plugin, potentially compromising admin accounts.

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-2071?

CVE-2022-2071 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.4 does not have CSRF check when importing names, and is also lacking sanitisation as well as escaping in some of the imported data, which could allow attackers to make a logged in admin import arbitrary names with XSS payloads in them.

Weakness: CWE-352

Which versions are affected by CVE-2022-2071?

It affects 1 product.

Products include Name Directory Project Name Directory.

How do I fix CVE-2022-2071?

No fix has been published for CVE-2022-2071 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-2071 being exploited?

There is no known exploitation of CVE-2022-2071 in the wild and no public exploit code.

Sources

Also known as GHSA-w657-gq68-34f2.

Is CVE-2022-2071 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free