WordPress security changelog
MEDIUM CVE-2026-86311 Deferred

Photo Gallery stores executable shortcode attribute values

Photo Gallery by 10Web through 1.8.44 allows an Author or higher to supply shortcode attributes without sufficient sanitization or output escaping. Those values become stored page content that executes JavaScript when a user views the affected page. The export does not identify the shortcode name, vulnerable attributes or rendering function. Official release 1.8.46 is newer and may resolve the issue, but the 1.8.45 changelog says only Security fix and does not confirm this vulnerability's fixed boundary.

CVE / CNA score 6.4 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
Photo Gallery by 10Web – Mobile-Friendly Image Gallery
Plugin slug
photo-gallery
Affected
<= 1.8.44
Safe version
See mitigation notes
Published
Sep 17, 2026
Weakness
CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

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

Update, patch or deactivate.

Use the latest upstream release but do not treat it as confirmed remediation for this CVE without vendor confirmation. Disable affected gallery rendering or the plugin until a fix is confirmed; validate shortcode attributes by type, escape final output in context and remove malicious saved attributes.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

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 – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Shortcode Attributes in all versions up to, and including, 1.8.44 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

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

Primary and upstream sources