What the vulnerability does
01Description
The WP Masonry & Infinite Scroll plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'wmis' shortcode in all versions up to, and including, 2.2 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.
Explanation of Vulnerability in Simple Terms
02Summary
WP Masonry & Infinite Scroll versions 2.2 and earlier contain a stored cross-site scripting (XSS) vulnerability. An authenticated user with low privileges can inject malicious JavaScript that executes in the browsers of other site visitors, potentially compromising their accounts or stealing sensitive data. The vulnerability affects the entire site scope due to how the plugin processes and displays user-controlled content.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in other users' browsers when they view affected pages.
Potential impact on your site
04Site Impact
Visitors and admins may have their sessions hijacked, credentials stolen, or malware injected into their browsers.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege WordPress account (e.g., subscriber or contributor role).
Key dates
06Disclosure timeline
June 26, 2025
CVE published
April 8, 2026
Record updated