CVE-2021-24958 Meks Easy Photo Feed Widget < 1.2.4 - Subscriber+ Settings Update to Stored XSS

Medium 5.4 Published Updated

Authenticated users can inject malicious scripts into plugin settings due to missing capability checks and output escaping, leading to stored XSS.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-24958?

CVE-2021-24958 is a medium-severity cross-site scripting vulnerability in Unknown Meks Easy Photo Feed Widget, published on 14 Mar 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The Meks Easy Photo Feed Widget WordPress plugin before 1.2.4 does not have capability and CSRF checks in the meks_save_business_selected_account AJAX action, available to any authenticated user, and does not escape some of the settings. As a result, any authenticated user, such as subscriber could update the plugin's settings and put Cross-Site Scripting payloads in them

Weakness: CWE-79

Which versions are affected by CVE-2021-24958?

It affects 1 product.

Products include Mekshq Meks Easy Photo Feed Widget.

How do I fix CVE-2021-24958?

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

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

Sources

Also known as GHSA-gjrp-2m36-6xcw.

Is CVE-2021-24958 in your software?

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

Check your SBOMs for free