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.
Published: 2026-10-10
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting that executes in the browsers of all visitors, including administrators
Action: Patch Update
AI Analysis

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.

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

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 yet.

History

Sat, 10 Oct 2026 12:30:00 +0000

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'}


Sat, 10 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79

Sat, 10 Oct 2026 06:15:00 +0000

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-10-10T12:06:41.421Z

Reserved: 2026-10-07T17:37:38.719Z

Link: CVE-2026-107323

cve-icon Vulnrichment

Updated: 2026-10-10T12:02:02.169Z

cve-icon NVD

Status : Deferred

Published: 2026-10-10T06:16:41.167

Modified: 2026-10-13T20:36:00.850

Link: CVE-2026-107323

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-10T14:00:17Z

Weaknesses
  • CWE-79

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