CVE-2023-1912 Limit Login Attempts <= 1.7.1 - Unauthenticated Stored Cross-Site Scripting

High 7.2 Published Updated

Unauthenticated attackers can inject scripts via lock logs that execute for administrators, requiring the X-FORWARDED-FOR header setting to be enabled.

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-2023-1912?

CVE-2023-1912 is a high-severity cross-site scripting vulnerability in automattic Limit Login Attempts, published on 6 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Limit Login Attempts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via its lock logging feature in versions up to, and including, 1.7.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever an administrator accesses the plugin's settings page. This only works when the plugin prioritizes use of the X-FORWARDED-FOR header, which can be configured in its settings.

Weakness: CWE-79

Which versions are affected by CVE-2023-1912?

It affects 1 product.

Products include Limit Login Attempts Project Limit Login Attempts.

How do I fix CVE-2023-1912?

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

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

Sources

Also known as GHSA-wqcw-392x-3hhr.

Is CVE-2023-1912 in your software?

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

Check your SBOMs for free