Stored Cross-Site Scripting in Scratchblocks for WP Plugin by WordPress
CVE-2026-6247

6.4MEDIUM

Key Information:

Vendor

WordPress

Vendor
CVE Published:
12 May 2026

What is CVE-2026-6247?

The Scratchblocks for WP plugin is susceptible to Stored Cross-Site Scripting via the 'element' attribute of the 'scratchblocks' shortcode. This vulnerability arises from inadequate input sanitization and output escaping on user-supplied attributes. Authenticated attackers with contributor-level access or higher can exploit this flaw to inject malicious scripts into pages. These scripts execute when users access the compromised pages, potentially compromising their data and security.

Affected Version(s)

scratchblocks for WP 0 <= 1.0.1

References

CVSS V3.1

Score:
6.4
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

nail majdeddine
.