---
id: CVE-2025-11866
title: >-
  The Photographers galleries plugin for WordPress is vulnerable to Stored
  Cross-Site Scripting via multiple shortcode attributes (`w`, `h`, `raw_css`,
  `look`, etc.) in all versions up to, and including, 1.1.8
summary: >-
  The Photographers galleries plugin for WordPress is vulnerable to Stored
  Cross-Site Scripting via multiple shortcode attributes (`w`, `h`, `raw_css`,
  `look`, etc.) in all versions up to, and including, 1.1.8. This is due to the
  plugin no…
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: '2025-10-22'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T11:10:00.250'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-11866'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/photographers-galleries/tags/1.1.8/includes/shortcodes.php#L61
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/9300af5d-7886-4f4e-8454-0dcf2d895fee?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00193
epssPercentile: 0.08192
ingestedAt: '2026-10-08T11:31:27.486Z'
---

## Overview

The Photographers galleries plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple shortcode attributes (`w`, `h`, `raw_css`, `look`, etc.) in all versions up to, and including, 1.1.8. This is due to the plugin not properly sanitizing user input or escaping output when inserting these values into HTML attributes and inline styles. This makes it possible for authenticated attackers, with contributor-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.
