CVE-2022-2540 Link Optimizer Lite <= 1.4.5 - Cross-Site Request Forgery to Cross-Site Scripting

High 8.8 Published Updated

Attackers can trick admins into clicking links to modify plugin settings and inject malicious scripts via CSRF.

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-2022-2540?

CVE-2022-2540 is a high-severity vulnerability in adambard Link Optimizer Lite, published on 6 Sep 2022. 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 Link Optimizer Lite plugin for WordPress is vulnerable to Cross-Site Request Forgery to Cross-Site Scripting in versions up to, and including 1.4.5. This is due to missing nonce validation on the admin_page function found in the ~/admin.php file. This makes it possible for unauthenticated attackers to modify the plugin's settings and inject malicious web scripts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Weakness: CWE-352

Which versions are affected by CVE-2022-2540?

It affects 1 product.

Products include Link Optimizer Lite Project Link Optimizer Lite.

How do I fix CVE-2022-2540?

No fix has been published for CVE-2022-2540 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-2540 being exploited?

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

Sources

Also known as GHSA-529p-qcfv-x329.

Is CVE-2022-2540 in your software?

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

Check your SBOMs for free