---
id: CVE-2025-14796
title: >-
  The My Album Gallery plugin for WordPress is vulnerable to Stored Cross-Site
  Scripting via image titles in all versions up to, and including, 1.0.4
summary: >-
  The My Album Gallery plugin for WordPress is vulnerable to Stored Cross-Site
  Scripting via image titles in all versions up to, and including, 1.0.4. This
  is due to insufficient input sanitization and output escaping on the
  'attachment->t…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-01-07'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T22:10:00.273'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-14796'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/my-album-gallery/tags/1.0.4/controllers/public/class-mygallery-shortcode.php#L143
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/my-album-gallery/tags/1.0.4/mygallery-single.php#L92
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/1dd0bb5b-2eb5-46f0-8942-2885b1138b70?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00264
epssPercentile: 0.16441
ingestedAt: '2026-09-30T22:27:27.711Z'
---

## Overview

The My Album Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via image titles in all versions up to, and including, 1.0.4. This is due to insufficient input sanitization and output escaping on the 'attachment->title' attribute. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
