CVE-2021-39322 Easy Social Icons <= 3.0.8 - Reflected Cross-Site Scripting

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts in victim browsers via reflected XSS in the Easy Social Icons WordPress plugin under specific server configurations.

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-2021-39322?

CVE-2021-39322 is a medium-severity cross-site scripting vulnerability in cybernetikz Easy Social Icons, published on 2 Sep 2021. 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 Easy Social Icons plugin <= 3.0.8 for WordPress echoes out the raw value of `$_SERVER['PHP_SELF']` in its main file. On certain configurations including Apache+modPHP this makes it possible to use it to perform a reflected Cross-Site Scripting attack by injecting malicious code in the request path.

Weakness: CWE-79

Which versions are affected by CVE-2021-39322?

It affects 1 product.

Products include Cybernetikz Easy Social Icons.

How do I fix CVE-2021-39322?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-39322 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-4p2p-7qjx-7r5g.

Is CVE-2021-39322 in your software?

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

Check your SBOMs for free