CVE-2024-31120 WordPress Gallery – Image and Video Gallery with Thumbnails plugin <= 2.0.3 - Cross Site Scripting (XSS) vulnerability
An attacker can inject malicious scripts into the WordPress gallery plugin, potentially compromising user sessions or site integrity.
- 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-31120?
CVE-2024-31120 is a medium-severity cross-site scripting vulnerability in wpdevart Responsive Image Gallery, Gallery Album, published on 31 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
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in wpdevart Responsive Image Gallery, Gallery Album allows Stored XSS.This issue affects Responsive Image Gallery, Gallery Album: from n/a through 2.0.3.
Weakness: CWE-79
Which versions are affected by CVE-2024-31120?
It affects 1 product.
Products include Wpdevart Gallery.
How do I fix CVE-2024-31120?
No fix has been published for CVE-2024-31120 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-31120 being exploited?
There is no known exploitation of CVE-2024-31120 in the wild and no public exploit code.
Other vulnerabilities in wpdevart Responsive Image Gallery, Gallery Album
- CVE-2024-35750 WordPress Gallery – Image and Video Gallery with Thumbnails plugin <= 2.0.3 - SQL Injection vulnerability
- CVE-2024-30550 Cross-site scripting in Responsive Image Gallery, Gallery Album
- CVE-2023-45630 WordPress Responsive Image Gallery, Gallery Album Plugin <= 2.0.3 is vulnerable to Cross Site Scripting (XSS)
- CVE-2022-1946 Gallery < 2.0.0 - Reflected Cross-Site Scripting
- CVE-2024-37542 WordPress Gallery – Image and Video Gallery with Thumbnails plugin <= 2.0.3 - Broken Access Control vulnerability
Sources
Also known as GHSA-3q36-645m-456x.