CVE-2026-107323: Gallery PhotoBlocks cross-site scripting (XSS) vulnerability
medium 6.8 published 2026-10-10 · updated 2026-10-13
- Affected versions
- 1.3.5 up to (not including) 1.3.6
- Fixed in
- 1.3.6
- Latest version
- 1.3.8
- Severity
- Medium · CVSS 6.8
- Active installs
- 3,000+
- Type
- Cross-site scripting (XSS)
What an attacker needs
- Access: A logged-in account with Contributor-level access or higher.
- Interaction: It also needs someone on the site (often an admin) to click a link, open a page or submit a form the attacker prepared.
CVSS vector (score by CISA ADP): CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
What to do now
- Update Gallery PhotoBlocks to 1.3.6 or newer (the latest is 1.3.8): Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- Not sure which version you run? Check your version against every known Gallery PhotoBlocks issue.
With WP-CLI:
wp plugin get photoblocks-grid-gallery --field=version. - If you ran an affected version and something looks off (new admin users, spam pages, redirects), run the free scan below.
The advisory
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.
References
- NVD CVE-2026-107323 nvd.nist.gov
- WPScan advisory wpscan.com
Related
Ran an affected version? Check your site for signs of a hack
The free scan reads the public side of your site and looks for spam pages, hidden redirects, injected scripts and blacklist entries. No login, no install, about a minute.
Where this data comes from
- CVE record, score and references: NIST National Vulnerability Database (NVD), checked 2026-11-04. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Versions and install counts: wordpress.org/plugins/photoblocks-grid-gallery (Plugins API), fetched 2026-11-04.
- The summary, “what an attacker needs” and “what to do” sections are our plain-English reading of the record and the plugin's release history; the quoted description is the record's own text. Spot an error? Email Daniel.