What the vulnerability does
01Description
The scratchblocks for WP plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'element' attribute of the 'scratchblocks' shortcode in all versions up to, and including, 1.0.1 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
Scratchblocks for WP versions 1.0.1 and earlier contain a cross-site scripting (XSS) vulnerability. An authenticated user with low privileges can inject malicious scripts that execute in other users' browsers, potentially affecting site-wide functionality. The vulnerability requires network access but no user interaction from the victim.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in other users' browsers and affect site functionality.
Potential impact on your site
04Site Impact
Authenticated users can inject scripts affecting other users and site operations; scope extends beyond the plugin.
Conditions required to exploit
05Prerequisites
Attacker must be authenticated with low-level user privileges; no victim interaction required.
Key dates
06Disclosure timeline
May 12, 2026
CVE published
May 13, 2026
Record updated