CVE-2025-31586 MEDIUM

CVE-2025-31586: WordPress Gallery – Photo Albums Plugin plugin <= 1.3.170 - Stored Cross Site Scripting (XSS) vulnerability

Vendor Ghozylab
Product Gallery – Photo Albums Plugin
Weakness CWE-79 · XSS
Published March 31, 2025
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 GhozyLab Gallery – Photo Albums Plugin easy-media-gallery allows Stored XSS.This issue affects Gallery – Photo Albums Plugin: from n/a through <= 1.3.170.

Explanation of Vulnerability in Simple Terms

02Summary

The Gallery – Photo Albums plugin for WordPress contains a cross-site scripting (XSS) vulnerability in versions up to 1.3.170. An authenticated user with low privileges can inject malicious scripts that execute in other users' browsers when they view affected pages. The vulnerability requires user interaction and can affect site visitors across the application.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that run in other users' browsers to steal data or perform actions on their behalf.

Potential impact on your site

04Site Impact

Site visitors' sessions and data can be compromised; attackers can deface content or redirect users to malicious sites.

Conditions required to exploit

05Prerequisites

Attacker must have a low-privilege WordPress account and the victim must visit a page containing the injected script.

Key dates

06Disclosure timeline

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