CVE-2024-31120 MEDIUM

CVE-2024-31120: WordPress Gallery – Image and Video Gallery with Thumbnails plugin <= 2.0.3 - Cross Site Scripting (XSS) vulnerability

Vendor Wpdevart
Product Responsive Image Gallery, Gallery Album
Weakness CWE-79 · XSS
Published March 31, 2024
Last update April 28, 2026

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

The Responsive Image Gallery and Gallery Album plugin for WordPress contains a stored cross-site scripting (XSS) vulnerability in versions up to 2.0.3. An authenticated user with low privileges can inject malicious scripts into gallery content. When other users view the affected gallery, the injected code executes in their browsers, potentially compromising their accounts or stealing sensitive data.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that runs in other users' browsers when they view the gallery.

Potential impact on your site

04Site Impact

Authenticated users can inject scripts affecting other site visitors; compromises user accounts and data security.

Conditions required to exploit

05Prerequisites

Attacker must have a WordPress user account with low-level permissions and the victim must view the affected gallery.

Key dates

06Disclosure timeline

March 31, 2024 CVE published
April 28, 2026 Record updated

Related vulnerabilities

08Related CVE