LiveActive security incident?Get immediate response
CVE Record

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

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.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2025-31586 is a stored XSS issue in the WordPress Gallery – Photo Albums Plugin. A user with some site access could save unsafe content that later runs in another person’s browser when viewed. The business risk is highest for public WordPress sites where untrusted or many users can manage gallery content.

Executive priority

Treat this as a moderate web application risk. Prioritize internet-facing WordPress sites and sites with contributor workflows first. It is not currently sourced as actively exploited, but stored XSS can affect administrators and visitors if malicious content is viewed.

Technical view

The issue is CWE-79 improper neutralization during web page generation in GhozyLab Gallery – Photo Albums Plugin, package easy-media-gallery. The source description says versions through 1.3.170 are affected. CVSS 3.1 is 6.5: network reachable, low complexity, low privileges required, user interaction required, and changed scope.

Likely exposure

Exposure is limited to WordPress sites running Gallery – Photo Albums Plugin easy-media-gallery at version 1.3.170 or earlier, especially where non-admin users can create or edit gallery content.

Exploitation context

The provided sources do not show CISA KEV listing or confirmed active exploitation. The CVSS vector indicates exploitation requires an authenticated low-privilege actor and a victim viewing affected content, so risk depends heavily on site roles and content workflows.

Researcher notes

Evidence is limited to the CVE record and Patchstack reference in the bundle. Do not assume a patch version from the provided data. Validation should focus on version exposure, role permissions, and whether gallery content can persist unsafe browser-executed input.

Mitigation direction

  • Inventory WordPress sites for easy-media-gallery and record installed versions.
  • Check GhozyLab, WordPress plugin, or Patchstack guidance for a fixed release.
  • Update the plugin if a vendor-fixed version is available.
  • Disable or remove the plugin where it is unnecessary or cannot be safely updated.
  • Restrict gallery editing permissions to trusted users until remediation is confirmed.

Validation and detection

  • Confirm whether easy-media-gallery is installed on each WordPress site.
  • Verify installed versions are not 1.3.170 or earlier.
  • Review WordPress roles allowed to create or edit gallery content.
  • Inspect gallery content for unexpected scripts or suspicious embedded markup.
  • Monitor vendor and Patchstack pages for remediation status updates.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-31586 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.5 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L2.33.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.5Medium
CVSS 3.1 vector shape for CVE-2025-31586Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
GhozyLabGallery – Photo Albums Plugineasy-media-gallery, 0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.