CVE-2021-24756 WP System Log < 1.0.21 - Unauthenticated Stored Cross-Site Scripting

Medium 6.1 Published Updated

Unauthenticated attackers can inject malicious scripts via IP addresses in login logs, potentially compromising admin accounts viewing the dashboard.

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

CVE-2021-24756 is a medium-severity cross-site scripting vulnerability in Unknown WP System Log, published on 13 Dec 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 WP System Log WordPress plugin before 1.0.21 does not sanitise, validate and escape the IP address retrieved from login requests before outputting them in the admin dashboard, which could allow unauthenticated attacker to perform Cross-Site Scripting attacks against admins viewing the logs.

Weakness: CWE-79

Which versions are affected by CVE-2021-24756?

It affects 1 product.

Products include Wp System Log Project Wp System Log.

How do I fix CVE-2021-24756?

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

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

Sources

Also known as GHSA-x547-6pg3-h56r.

Is CVE-2021-24756 in your software?

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

Check your SBOMs for free