CVE-2026-107323

Gallery PhotoBlocks 1.3.5 - Contributor+ Stored XSS

Published Oct 10, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
The Gallery PhotoBlocks WordPress plugin before 1.3.6 does not sanitize and escape one of its gallery settings before outputting it into an HTML attribute, allowing users with Contributor-level access and above to store JavaScript that executes in the browser of anyone who views a page containing the gallery, including administrators.

Analysis

AI-generated

Technical impact

The Gallery PhotoBlocks WordPress plugin, in versions prior to 1.3.6, fails to sanitize a gallery setting inserted into an HTML attribute. This omission allows contributors or higher‑privileged users to store JavaScript that runs whenever any user, including privileged administrators, loads a page containing the gallery. Because the vulnerability is stored, it can persist across sessions and attackers can silently compromise multiple users. The weakness represents a classic stored cross‑site scripting flaw, exposing confidentiality, integrity, and availability of the web application for all users who view the affected gallery pages.

Affected Systems

The impact is limited to installations of the Gallery PhotoBlocks WordPress plugin version 1.3.5 and earlier. The vulnerability applies to any WordPress site that has this plugin installed and allows contributors or above to modify gallery settings. No other vendors or products are mentioned as affected.

Risk and Exploitability

The vulnerability has a CVSS score of 6.8, no publicly available EPSS score, and is not listed in the CISA KEV catalog. The attack requires a user with Contributor role or higher to inject the payload, which is then served to all page viewers. Locally the attacker can create malicious gallery content, which subsequent normal users will experience as browser script execution. Because the attack vector is within the web application and does not rely on external network resources, it can be exploited remotely via the plugin’s settings interface. Given the access level required, attackers typically must already have legitimate site access or social‑engineering credentials to reach the Contributor role. The potential impact remains widespread due to the stored nature of the injection.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gallery PhotoBlocks to version 1.3.6 or later
  • Revoke or reduce Contributor role privileges so that contributors cannot edit gallery settings until the patch is applied
  • Disable or remove the Gallery PhotoBlocks plugin from the site until a secure version is available

Generated by OpenCVE AI on October 10, 2026 at 13:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions gallery Photoblocks
Vendors & Products Wordpress-extensions
Wordpress-extensions gallery Photoblocks
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
Weaknesses CWE-79
Type Values Removed Values Added
Description The Gallery PhotoBlocks WordPress plugin before 1.3.6 does not sanitize and escape one of its gallery settings before outputting it into an HTML attribute, allowing users with Contributor-level access and above to store JavaScript that executes in the browser of anyone who views a page containing the gallery, including administrators.
Title Gallery PhotoBlocks 1.3.5 - Contributor+ Stored XSS
References
Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Oct 10, 2026, 12:06 PM
Reserved
Oct 7, 2026, 5:37 PM
Status
Deferred
Published
Oct 10, 2026, 6:16 AM
Modified
Oct 13, 2026, 8:36 PM