WordPress security changelog
HIGH CVE-2026-12865 Deferred

Photo Gallery by 10Web permits administrator-targeted reflected cross-site scripting

Photo Gallery by 10Web before 1.8.44 reflects two request values into input attributes on administration pages without adequate escaping. An unauthenticated attacker can craft a link whose auto-firing onfocus payload executes when opened by an administrator; the shortcode-page sink can also target a Contributor, while the gallery-list sink requires a populated site with more than 20 galleries or albums.

CVE / CNA score 7.1 CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0
NVD score Pending NVD has not published its own CVSS assessment.
Component
Photo Gallery by 10Web
Plugin slug
photo-gallery
Affected
< 1.8.44
Safe version
1.8.44
Published
Sep 02, 2026
Weakness
CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

This CVE was published Sep 02, 2026 and is one of 61 known issues for this plugin.

Update, patch or deactivate.

Update to Photo Gallery by 10Web 1.8.44 or later and invalidate privileged sessions if an administrator or Contributor opened an untrusted gallery-administration link.

A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The Photo Gallery by 10Web WordPress plugin before 1.8.44 does not escape two request parameters before reflecting them into input-attribute values on its admin pages (one on the Shortcode page, one on the Galleries/Albums list page), so an unauthenticated attacker can craft a link that, when opened by a logged-in administrator (or, for the first sink, a contributor), executes arbitrary JavaScript in the victim's authenticated session via an auto-firing onfocus handler. The Galleries/Albums sink renders only when the site has more than 20 galleries/albums (the normal state of a populated install).

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Primary and upstream sources