Portfolio Gallery – Image Gallery Plugin <= 2.2.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Image Title

Medium 6.4 CWE-79Fixed in 2.2.1
ID
WPSEC-2026-0627
Plugin
Portfolio Filter Gallery – Photo Gallery (portfolio-filter-gallery)
Affected
from 2.1.5 before 2.2.1
Remediation
Update to 2.2.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-08
Attack surface
Portfolio Gallery – Image Gallery Plugin on WPSec AttackSurface
Fix released
Published

Description

The Portfolio Gallery – Image Gallery Plugin for WordPress is vulnerable to Stored Cross-Site Scripting via gallery image titles in versions 2.1.5 up to, and including, 2.2.0 due to insufficient input sanitization and output escaping in the built-in lightbox, which inserts the image title (and, when enabled, the image description) into the page as HTML. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts into gallery images that will execute whenever a user opens the image in the lightbox.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0