CVE-2021-24291 Photo Gallery < 1.5.69 - Multiple Reflected Cross-Site Scripting (XSS)
Attackers can inject malicious scripts via GET parameters in the Photo Gallery WordPress plugin, potentially compromising user sessions.
- 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-24291?
CVE-2021-24291 is a medium-severity cross-site scripting vulnerability in Photo Gallery by 10Web – Mobile-Friendly Image Gallery, published on 14 May 2021. 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 Photo Gallery by 10Web – Mobile-Friendly Image Gallery WordPress plugin before 1.5.69 was vulnerable to Reflected Cross-Site Scripting (XSS) issues via the gallery_id, tag, album_id and _id GET parameters passed to the bwg_frontend_data AJAX action (available to both unauthenticated and authenticated users)
Weakness: CWE-79
Which versions are affected by CVE-2021-24291?
It affects 1 product.
Products include 10web Photo Gallery.
How do I fix CVE-2021-24291?
No fix has been published for CVE-2021-24291 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-24291 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24291 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Photo Gallery by 10Web – Mobile-Friendly Image Gallery
Sources
Also known as GHSA-69rf-m6w3-jf8j.