CVE-2021-24909 ACF Photo Gallery Field < 1.7.5 - Reflected Cross-Site Scripting

Medium 6.1 Published Updated

Reflected Cross-Site Scripting in ACF Photo Gallery Field allows attackers to inject malicious scripts via the post parameter.

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

CVE-2021-24909 is a medium-severity cross-site scripting vulnerability in Unknown ACF Photo Gallery Field, published on 17 Jan 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 ACF Photo Gallery Field WordPress plugin before 1.7.5 does not sanitise and escape the post parameter in the includes/acf_photo_gallery_metabox_edit.php file before outputing back in an attribute, leading to a Reflected Cross-Site Scripting issue

Weakness: CWE-79

Which versions are affected by CVE-2021-24909?

It affects 1 product.

Products include Navz Acf Photo Gallery Field.

How do I fix CVE-2021-24909?

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

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

Sources

Also known as GHSA-v6cq-mg6h-wjfc.

Is CVE-2021-24909 in your software?

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

Check your SBOMs for free