CVE-2021-24310 Photo Gallery < 1.5.67 - Authenticated Stored Cross-Site Scripting via Gallery Title
Authenticated high-privilege users can inject XSS payloads into gallery titles, affecting other users viewing the gallery in the admin dashboard.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-24310?
CVE-2021-24310 is a medium-severity cross-site scripting vulnerability in Photo Gallery by 10Web – Mobile-Friendly Image Gallery, published on 1 Jun 2021. An attacker needs administrator access to exploit it, 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.67 did not properly sanitise the gallery title, allowing high privilege users to create one with XSS payload in it, which will be triggered when another user will view the gallery list or the affected gallery in the admin dashboard. This is due to an incomplete fix of CVE-2019-16117
Weakness: CWE-79
Which versions are affected by CVE-2021-24310?
It affects 1 product.
Products include 10web Photo Gallery.
How do I fix CVE-2021-24310?
No fix has been published for CVE-2021-24310 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-24310 being exploited?
There is no known exploitation of CVE-2021-24310 in the wild and no public exploit code.
Other vulnerabilities in Photo Gallery by 10Web – Mobile-Friendly Image Gallery
Sources
Also known as GHSA-4fx9-rq9m-9gq2.