What the vulnerability does
01Description
The WPSite Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'format' shortcode attribute in the wpsite_y shortcode and the 'before' attribute in the wpsite_postauthor shortcode in all versions up to, and including, 1.2. This is due to insufficient input sanitization and output escaping in error messages. 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
WPSite Shortcode versions 1.2 and earlier contain a stored cross-site scripting (XSS) vulnerability. An authenticated user with low privileges can inject malicious scripts into shortcode content. When other users view pages containing the affected shortcode, the injected script executes in their browser, potentially allowing the attacker to steal session tokens, modify page content, or perform actions on their behalf.
What an attacker can do
03Attacker Capabilities
Inject and store malicious JavaScript that executes when other users view affected pages.
Potential impact on your site
04Site Impact
Compromised user accounts, defaced content, and potential credential theft affecting all site visitors.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege authenticated account on the site.
Key dates
06Disclosure timeline
November 21, 2025
CVE published
April 8, 2026
Record updated