CVE-2024-29809 WordPress Photo Gallery Plugin <= 1.8.21 Reflected Cross Site Scripting in editimage_bwg image_url

Medium 5.4 Published Updated

Reflected XSS in the Photo Gallery plugin allows attackers to execute arbitrary JavaScript in the context of authenticated users with specific permissions.

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-2024-29809?

CVE-2024-29809 is a medium-severity cross-site scripting vulnerability in 10Web PhotoGallery, published on 26 Mar 2024. 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 image_url parameter of the AJAX call to the editimage_bwg action of admin-ajax.php is vulnerable to reflected Cross Site Scripting. The value of the image_url parameter is embedded within an existing JavaScript within the response allowing arbitrary JavaScript to be inserted and executed. The attacker must target a an authenticated user with permissions to access this component to exploit this issue.

Weakness: CWE-79

Which versions are affected by CVE-2024-29809?

It affects 1 product.

Products include 10web Photo Gallery.

How do I fix CVE-2024-29809?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29809 exists.

Sources

Also known as GHSA-r75g-g3c5-rgg4.

Is CVE-2024-29809 in your software?

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

Check your SBOMs for free