CVE-2025-31586

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

Published Mar 31, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

In the GhozyLab Gallery – Photo Albums Plugin, unescaped user‑supplied input is stored and rendered in gallery pages, allowing an attacker to inject malicious JavaScript. When a victim visits the affected gallery, the script executes in the victim’s browser, enabling cookie theft, session hijacking, or defacement. This stored XSS flaw is classified as CWE‑79 and poses confidentiality, integrity, and availability risks to users of the plugin.

Affected Systems

GhozyLab’s Gallery – Photo Albums Plugin (easy‑media‑gallery) is vulnerable in all releases through version 1.3.170. WordPress sites deploying any of these plugin versions are at risk until the plugin is updated to a later release. No versions beyond 1.3.170 are affected.

Risk and Exploitability

The vulnerability carries a CVSS score of 6.5 and an EPSS score of less than 1 %, indicating moderate severity and a relatively low probability of exploitation. It is not listed in the CISA KEV catalog. Attackers can exploit the flaw by injecting code via the plugin’s administrative or user input fields, after which the script runs for anyone who views the gallery. The exploit requires user interaction to load the page, but once the payload is stored, repeated exposure increases risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gallery – Photo Albums Plugin to a version newer than 1.3.170, which removes the stored XSS flaw.
  • If an upgrade cannot be performed immediately, disable or sanitize any plugin features that accept user‑supplied content, such as custom fields or image captions, to block injection attempts.
  • Monitor site traffic for anomalous script activity and ensure session cookies are set as HTTP‑Only and secure to limit the impact of any residual XSS payloads.

Generated by OpenCVE AI on May 1, 2026 at 02:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-8802 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in GhozyLab Gallery – Photo Albums Plugin allows Stored XSS. This issue affects Gallery – Photo Albums Plugin: from n/a through 1.3.170.
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L'}

Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in GhozyLab Gallery – Photo Albums Plugin allows Stored XSS. This issue affects Gallery – Photo Albums Plugin: from n/a through 1.3.170. 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.
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in GhozyLab Gallery – Photo Albums Plugin allows Stored XSS. This issue affects Gallery – Photo Albums Plugin: from n/a through 1.3.170.
Title WordPress Gallery – Photo Albums Plugin plugin <= 1.3.170 - Stored Cross Site Scripting (XSS) vulnerability
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L'}

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 4:12 PM
Reserved
Mar 31, 2025, 10:05 AM
Status
Deferred
Published
Mar 31, 2025, 1:15 PM
Modified
Jun 17, 2026, 9:10 AM