CVE-2026-86311

Photo Gallery by 10Web – Mobile-Friendly Image Gallery <= 1.8.44 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes

Published Sep 17, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Photo Gallery by 10Web – Mobile‑Friendly Image Gallery plugin stores shortcode attribute values in the database without sanitization, allowing authenticated authors or higher roles to inject persistent JavaScript. An attacker can embed malicious code that executes whenever a page using the gallery shortcode is accessed, potentially leading to session hijacking, credential theft, or defacement. This flaw is a classic input validation failure, identified as CWE‑79.

Affected Systems

All WordPress installations running Photo Gallery by 10Web – Mobile‑Friendly Image Gallery version 1.8.44 or earlier are affected. The vulnerability applies to the 10web product across all WordPress environments that use these plugin versions.

Risk and Exploitability

The CVSS score of 6.4 classifies this flaw as medium severity, and the EPSS score of less than 1% indicates a low likelihood of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Nevertheless, the attack requires only a contributor or higher role, which most content managers possess, meaning an authorized user can inject scripts that persistently affect all visitors to a gallery page. Should an attacker gain sufficient privileges or compromise a user account, the injected payload becomes immediately active for any page visitor.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the plugin to the latest version, which removes the unsanitized shortcode handling.
  • If an update is not available, disable the gallery shortcode or restrict its usage to administrators only.
  • Limit contributor and author roles from creating or editing pages that include gallery shortcodes.
  • Implement a strict Content‑Security‑Policy that blocks inline scripts and restricts script sources to trusted domains.

Generated by OpenCVE AI on September 17, 2026 at 22:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared 10web
10web photo Gallery By 10web – Mobile-friendly Image Gallery
Wordpress
Wordpress wordpress
Vendors & Products 10web
10web photo Gallery By 10web – Mobile-friendly Image Gallery
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Photo Gallery by 10Web – Mobile-Friendly Image Gallery <= 1.8.44 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Sep 17, 2026, 12:59 PM
Reserved
Sep 6, 2026, 7:13 PM
Status
Deferred
Published
Sep 17, 2026, 4:18 AM
Modified
Sep 17, 2026, 9:12 PM