CVE-2022-0889 Ninja Forms - File Uploads Extension <= 3.3.12 - Reflected Cross-Site Scripting

High 7.2 Published Updated

Unauthenticated attackers can inject malicious scripts via the file upload filename parameter in the Ninja Forms File Uploads Extension.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-0889?

CVE-2022-0889 is a high-severity cross-site scripting vulnerability in SaturdayDrive Ninja Forms - File Uploads, published on 23 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Ninja Forms - File Uploads Extension WordPress plugin is vulnerable to reflected cross-site scripting due to missing sanitization of the files filename parameter found in the ~/includes/ajax/controllers/uploads.php file which can be used by unauthenticated attackers to add malicious web scripts to vulnerable WordPress sites, in versions up to and including 3.3.12.

Weakness: CWE-79

Which versions are affected by CVE-2022-0889?

It affects 1 product.

Products include Ninjaforms Ninja Forms File Uploads.

How do I fix CVE-2022-0889?

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

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

Sources

Also known as GHSA-fvgm-c3gh-jgmj.

Is CVE-2022-0889 in your software?

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

Check your SBOMs for free