Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister or obtain Contributor account
-
DeliveryInject XSS payload into gallery field
-
ExploitSubmit content for review
-
ExecutionPrivileged user views affected page
-
PersistMalicious script executes in admin browser
-
ImpactExfiltrate session token or perform admin action
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold a WordPress Contributor account (or higher) on the target site - this is the primary limiting factor (PR:L per CVSS). The Mosaic Gallery - Advanced Gallery plugin must be installed and active at version 1.2.0 or earlier. A victim with elevated privileges (editor, administrator) must navigate to or preview a page containing the attacker's crafted gallery content (UI:R per CVSS). Sites that disable open registration, restrict Contributor role assignment to trusted personnel, or use a content review workflow that prevents Contributor submissions from reaching admin screens face substantially reduced risk. No non-default server configuration is required beyond the plugin being installed and active. |
| Impact | The NVD CVSS 3.1 score of 6.5 (Medium) is backed by a vector of AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L. PR:L limits exploitation to accounts holding at minimum Contributor status, narrowing the real-world attacker pool to authenticated registered users. UI:R imposes a victim-interaction requirement - a privileged user must view the injected content. The S:C flag is significant: it signals that the injected payload executes in a separate security context (the victim's browser), making cookie theft or admin-level DOM manipulation plausible. The A:L rating in the vendor-provided vector appears generous for XSS, which rarely causes direct availability impact; this analysis assesses A:N as more accurate. No EPSS data was provided, no CISA KEV listing exists, and no POC has been confirmed, placing this in the 'no public exploit identified' category. Real-world risk is elevated for WordPress sites with open Contributor registration or untrusted editorial teams, and diminished for sites that restrict content creation roles to fully trusted users. |
| Exploit ScenarioDerived | An attacker registers or already holds a Contributor account on the target WordPress site and embeds a JavaScript payload (such as a cookie-exfiltrating script) within a gallery block or shortcode field in the Mosaic Gallery - Advanced Gallery plugin while drafting a post. When an administrator reviews, edits, or views the post, the injected script executes in the administrator's browser, transmitting their session token to an attacker-controlled endpoint and enabling account takeover. No public POC has been confirmed at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 02, 2026
Stored or reflected Cross-Site Scripting in the Mosaic Gallery - Advanced Gallery WordPress plugin (versions <= 1.2.0) is exploitable by authenticated users holding a Contributor role. A Contributor-level attacker can inject malicious JavaScript into gallery content, which executes in the browsers of higher-privileged users - such as editors or administrators - who subsequently view the affected page, enabling session hijacking or unauthorized administrative action. No public exploit code or active exploitation has been confirmed at time of analysis.
RemediationAI
Update the Mosaic Gallery - Advanced Gallery plugin to the latest available version via the WordPress plugin repository or per the vendor's published patch, once confirmed beyond version 1.2.0. No exact patched version number is confirmed in the available data - verify the current release at the WordPress plugin directory or the Patchstack advisory at https://patchstack.com/database/wordpress/plugin/mosaic-gallery-advanced-gallery/vulnerability/wordpress-mosaic-gallery-8211-advanced-gallery-plugin-1-2-0-cross-site-scripting-xss-vulnerability before upgrading. As a compensating control while awaiting a confirmed patch, restrict Contributor role assignment to fully trusted users only and audit existing accounts for unrecognized contributors; this eliminates the PR:L attack vector entirely. Alternatively, temporarily deactivating the plugin removes the vulnerable attack surface at the cost of disabling gallery functionality.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-79 (Improper Neutralization of Input During Web Page Generation) indicates that user-supplied input is rendered into HTML output without adequate sanitization or encoding. The Mosaic Gallery - Advanced Gallery plugin (CPE: cpe:2.3:a:misbah_wp:mosaic_gallery_-_advanced_gallery:*:*:*:*:*:*:*:*), developed by misbah_wp, provides image gallery functionality within WordPress. In WordPress, the Contributor role can draft and submit content including shortcodes or block attributes but cannot publish independently. If gallery-related input fields fail to sanitize stored or reflected values, a Contributor can persist a payload that fires whenever a privileged user (editor, admin) renders that content. The CVSS scope value S:C confirms the vulnerability crosses the trust boundary of the plugin into the victim's browser execution context.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Contributor authentication required (PR:L), scope changes to victim browser (S:C); XSS does not directly cause availability impact so A:N is more accurate.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Contributor Cross Site Scripting (XSS) in Mosaic Gallery – Advanced Gallery <= 1.2.0 versions.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-41311
GHSA-7895-6924-w5f6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB