CVE-2026-6247 MEDIUM

CVE-2026-6247: scratchblocks for WP <= 1.0.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'element' Shortcode Attribute

Vendor Tkc49
Product scratchblocks for WP
Weakness CWE-79 · XSS
Published May 12, 2026
Last update May 13, 2026

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

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

Related vulnerabilities

08Related CVE