CVE-2024-29832 WordPress Photo Gallery Plugin <= 1.8.21 Unauthenticated Reflected Cross Site Scripting in GalleryBox current_url
Unauthenticated attackers can execute arbitrary JavaScript via the current_url parameter in the GalleryBox AJAX action of the WordPress Photo Gallery Plugin.
- 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-2024-29832?
CVE-2024-29832 is a medium-severity cross-site scripting vulnerability in 10Web PhotoGallery, published on 26 Mar 2024. 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 current_url parameter of the AJAX call to the GalleryBox action of admin-ajax.php is vulnerable to reflected Cross Site Scripting. The value of the current_url parameter is embedded within an existing JavaScript within the response allowing arbitrary JavaScript to be inserted and executed. No authentication is required to exploit this issue. Note that other parameters within a AJAX call, such as image_id, must be valid for this vulnerability to be successfully exploited.
Weakness: CWE-79
Which versions are affected by CVE-2024-29832?
It affects 1 product.
Products include 10web Photo Gallery.
How do I fix CVE-2024-29832?
No fix has been published for CVE-2024-29832 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-29832 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29832 exists.
Other vulnerabilities in 10Web PhotoGallery
Sources
Also known as GHSA-mq4p-h73v-pvm2.