CVE-2021-24350 Visitors <= 0.3 - Unauthenticated Stored Cross-Site Scripting (XSS)

Medium 6.1 Published Updated

Unauthenticated attackers can inject malicious scripts via user agent strings, leading to code execution or account takeover in the WordPress admin panel.

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

CVE-2021-24350 is a medium-severity cross-site scripting vulnerability in Unknown Visitors, published on 14 Jun 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 Visitors WordPress plugin through 0.3 is affected by an Unauthenticated Stored Cross-Site Scripting (XSS) vulnerability. The plugin would display the user's user agent string without validation or encoding within the WordPress admin panel.

Weakness: CWE-79

Which versions are affected by CVE-2021-24350?

It affects 1 product.

Products include Bestwebsoft Visitors Online.

How do I fix CVE-2021-24350?

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

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

Sources

Also known as GHSA-98c2-3mpw-gw7c.

Is CVE-2021-24350 in your software?

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

Check your SBOMs for free