CVE-2026-57755: XSS Vulnerability in Mosaic Gallery Advanced Gallery ≤1.2.0
Mosaic Gallery — Advanced Gallery plugin versions 1.2.0 and earlier contain a cross-site scripting (XSS) vulnerability that allows authenticated contributors to inject malicious scripts. When a site administrator or user with higher privileges views the gallery, the injected code executes in their browser, potentially compromising their session or account. This is a contributor-level attack, meaning the threat actor must already have posting/contribution rights to the site.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.5 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
- Weaknesses (CWE)
- CWE-79
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-07-02 / 2026-07-02
NVD description (verbatim)
Contributor Cross Site Scripting (XSS) in Mosaic Gallery – Advanced Gallery <= 1.2.0 versions.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-57755 is a stored XSS vulnerability (CWE-79) in Mosaic Gallery — Advanced Gallery affecting versions up to and including 1.2.0. The vulnerability exists in functionality accessible to authenticated contributors, allowing injection of arbitrary script content into gallery data. The injected payload persists in the database and executes when administrative or higher-privileged users interact with the affected gallery content. The CVSS 3.1 score of 6.5 (MEDIUM severity) reflects the requirement for authenticated access and user interaction, though the cross-site scope increases impact potential across the affected application.
Business impact
Organizations running vulnerable versions face credential theft, session hijacking, and unauthorized account takeover of administrative accounts. If exploited, attackers could escalate privileges, modify site content, or pivot to backend systems. The risk is elevated in multi-user WordPress environments where contributor access is granted to external writers, agencies, or community members. Data integrity and user trust may be compromised if gallery content is manipulated or defaced.
Affected systems
Mosaic Gallery — Advanced Gallery versions 1.2.0 and earlier running on WordPress or compatible platforms are affected. Sites with untrusted or poorly vetted contributors carry higher risk. The vulnerability does not affect versions released after 1.2.0; verify your installed version in the plugin settings or WordPress admin dashboard.
Exploitability
Exploitation requires an authenticated account with contributor or author privileges. The attack vector is network-based with low complexity—no special tools or deep technical expertise is needed beyond basic XSS payload knowledge. User interaction is required, as a higher-privileged user must view or interact with the malicious gallery content for the attack to succeed. The stored nature of the XSS makes it difficult to detect without security monitoring and increases the window of exposure once injected.
Remediation
Update Mosaic Gallery — Advanced Gallery to the latest version released after 1.2.0. Verify the update through the plugin's official repository or vendor advisory. Additionally, audit contributor account permissions and revoke access for inactive or untrusted accounts. Implement input validation and output encoding controls at the application level to prevent stored XSS. Enable WordPress security plugins that provide XSS detection and content security policy (CSP) headers.
Patch guidance
Check the Mosaic Gallery plugin page for available updates. If a patched version beyond 1.2.0 is available, update immediately through the WordPress admin panel or verify against the vendor's official security advisory. Test the update in a staging environment first to ensure compatibility with your site's theme and other plugins. After patching, clear browser cache and purge any CDN caches to ensure injected payloads are not served from cached copies.
Detection guidance
Monitor for suspicious JavaScript or script tags within gallery content using security scanning tools or manual code review of gallery database entries. Enable WordPress logging and audit plugins to track changes to gallery settings and uploads. Use a Web Application Firewall (WAF) configured with XSS detection rules to flag unusual script patterns in requests. Review admin access logs for unauthorized modifications to gallery content or unexpected administrative actions during the vulnerability window.
Why prioritize this
Although CVSS 6.5 is MEDIUM severity, prioritization depends on your threat model. If your site restricts contributor access to trusted internal staff only, risk is lower. If external contributors or community members have posting rights, this should be treated as HIGH priority because stored XSS targeting admins can lead to full site compromise. Factor in whether you use WordPress for sensitive business operations or customer-facing content.
Risk score, explained
The CVSS 3.1 score of 6.5 reflects: (1) network accessibility and low attack complexity (easy exploitation), (2) requirement for prior authentication and user interaction (moderate friction), and (3) potential confidentiality, integrity, and availability impact limited to the application scope rather than the system. The cross-site scope modifier elevates the base score, recognizing that exploitation can affect multiple users or site functions, not just the gallery itself.
Frequently asked questions
Do I need to update if I only allow admins and trusted staff to upload gallery content?
Your risk is lower if uploads are strictly internal, but you should still patch. A disgruntled employee or a compromised admin account could exploit this. Additionally, other attack vectors may deliver a malicious payload to the gallery without direct admin involvement. Patching removes this attack surface entirely.
What does 'contributor' mean in this context?
In WordPress, a Contributor role has permission to create and edit their own posts but not publish them without admin approval. This role, along with Author and Editor roles, likely has access to gallery functionality. If you've granted any external parties (freelancers, agencies, community members) these roles, they are in scope for this vulnerability.
Is this vulnerability being actively exploited?
This vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning there is no evidence of active, widespread, real-world exploitation at this time. However, the simplicity of XSS attacks means exploitation could begin at any time, especially after public disclosure. Treat this as a high-priority patch regardless of KEV status.
Can this vulnerability steal my site's data or encrypt my files?
This XSS vulnerability cannot directly execute ransomware or encrypted backups, but it can steal admin cookies and session tokens, allowing an attacker to log in as an admin and perform those destructive actions themselves. In that sense, it is an entry point for more severe attacks rather than a direct data destruction vector.
This analysis is provided for informational purposes and does not constitute legal or professional security advice. Security professionals should independently verify all claims against vendor advisories, CVSS documentation, and their own testing. Patch recommendations are based on the CVE description and standard vulnerability remediation practices; specific patch version numbers and availability should be confirmed with the Mosaic Gallery vendor. Organizations should conduct their own risk assessment based on their environment, user roles, and data sensitivity. SEC.co makes no guarantee that patching or applying these recommendations will fully eliminate risk from this or other vulnerabilities. Source: NVD (public-domain), retrieved 2026-08-11. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2016-20070MEDIUMPrivilege Escalation & Stored XSS in WordPress Booking Calendar Contact Form 1.0.23
- CVE-2018-25384MEDIUMStored XSS in Wikidforum 2.20 Allows Authenticated Attackers to Inject Malicious Scripts
- CVE-2019-25731MEDIUMStored XSS in Zuz Music 2.1 Contact Form
- CVE-2019-25737MEDIUMStored XSS in Live Chat Unlimited 2.8.3 – Admin Session Compromise
- CVE-2019-25739MEDIUMGigToDo 1.3 Stored XSS Vulnerability in Proposal Descriptions
- CVE-2019-25742MEDIUMStored XSS in Zoner Real Estate WordPress Theme 4.1.1 – Admin Account Compromise Risk
- CVE-2019-25743MEDIUMWordPress Soliloquy Lite 2.5.6 Stored XSS Vulnerability
- CVE-2019-25744MEDIUMWordPress Popup Builder 3.49 Stored XSS Vulnerability – Exploit Prevention & Patch Guide