CVE-2024-13586: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in imdr Masy Gallery
The Masy Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'justified-gallery' shortcode in all versions up to, and including, 1.7 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2024-13586 is a stored cross-site scripting vulnerability in the Masy Gallery plugin for WordPress, affecting all versions up to and including 1.7. The issue arises from insufficient sanitization and escaping of user-supplied attributes in the 'justified-gallery' shortcode, allowing authenticated users with contributor or higher privileges to inject arbitrary scripts. These scripts execute in the context of any user who visits the compromised page, potentially leading to session hijacking or other script-based attacks. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting network attack vector, low attack complexity, low privileges required, no user interaction, and impacts on confidentiality and integrity with no availability impact.
Potential Impact
An attacker with contributor-level access or higher can inject persistent malicious scripts into pages using the vulnerable shortcode. When other users access these pages, the injected scripts execute in their browsers, potentially compromising user sessions or data confidentiality and integrity. There is no indication of availability impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider disabling or removing the Masy Gallery plugin if feasible. Monitor for updates from the vendor or WordPress plugin repository for a security update addressing this vulnerability.
CVE-2024-13586: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in imdr Masy Gallery
Description
The Masy Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'justified-gallery' shortcode in all versions up to, and including, 1.7 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-13586 is a stored cross-site scripting vulnerability in the Masy Gallery plugin for WordPress, affecting all versions up to and including 1.7. The issue arises from insufficient sanitization and escaping of user-supplied attributes in the 'justified-gallery' shortcode, allowing authenticated users with contributor or higher privileges to inject arbitrary scripts. These scripts execute in the context of any user who visits the compromised page, potentially leading to session hijacking or other script-based attacks. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting network attack vector, low attack complexity, low privileges required, no user interaction, and impacts on confidentiality and integrity with no availability impact.
Potential Impact
An attacker with contributor-level access or higher can inject persistent malicious scripts into pages using the vulnerable shortcode. When other users access these pages, the injected scripts execute in their browsers, potentially compromising user sessions or data confidentiality and integrity. There is no indication of availability impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider disabling or removing the Masy Gallery plugin if feasible. Monitor for updates from the vendor or WordPress plugin repository for a security update addressing this vulnerability.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-01-21T14:38:38.245Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6e61b7ef31ef0b59f4a2
Added to database: 2/25/2026, 9:49:21 PM
Last enriched: 4/9/2026, 6:42:31 AM
Last updated: 4/12/2026, 8:32:31 AM
Views: 15
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.