CVE-2026-86311: Photo Gallery by 10Web stored cross-site scripting in shortcode attributes

CVE-2026-86311 · Severity: medium · CVSS 6.4 · Published 2026-09-17

The Photo Gallery by 10Web is a popular WordPress plugin for displaying image galleries. An authenticated attacker with Author-level access or higher can inject malicious JavaScript code into gallery shortcodes that will execute in the browsers of any user viewing the affected page, potentially stealing session data or defacing content.

Vendors: 10Web.

Quick answers

Is CVE-2026-86311 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-86311 being exploited in the wild.
How severe is CVE-2026-86311?
Medium severity, with a CVSS score of 6.4, published 17 September 2026.
Which products and versions are affected?
10Web Photo Gallery by 10Web up to and including 1.8.44.
Is there a fix for CVE-2026-86311?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-86311 attacked?
It is attacked over the network.
Am I affected by CVE-2026-86311?
Check whether you run 10Web Photo Gallery by 10Web at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The plugin is vulnerable to Stored Cross-Site Scripting (XSS) via insufficient input sanitization and output escaping of shortcode attributes. An authenticated attacker with Author-level access or above can inject arbitrary JavaScript into shortcode parameters, which is stored in the page and executed when users view that page. The vulnerability affects all versions up to and including 1.8.44. This is a post-authentication attack that requires Author-level or higher privileges on the WordPress site.

Affected products

  • 10Web Photo Gallery by 10Web up to and including 1.8.44

Timeline

  • 2026-09-17: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.