CVE-2026-6247

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

Published May 12, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The scratchblocks for WP plugin contains a stored cross‑site scripting flaw caused by inadequate sanitization of the 'element' attribute in the 'scratchblocks' shortcode. Because the plugin fails to properly escape this user‑supplied attribute, an authenticated user with contributor-level access can inject arbitrary JavaScript. When a visitor opens a page that contains the maliciously crafted shortcode, the injected script runs in the visitor's browser.

Affected Systems

Vulnerability impacts the scratchblocks for WP WordPress plugin, versions up to and including 1.0.1. The affected author is tkc49. No other versions are indicated as vulnerable in the data.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity vulnerability. EPSS data is not available, and the vulnerability is not listed in CISA KEV, implying no publicly known exploitation. However, because the exploit requires only contributor‑level authentication, it is likely to be exercised by any user who can edit content. The stored payload will be executed for all site visitors who view the affected page.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the scratchblocks for WP plugin to a version newer than 1.0.1.
  • If no update is available, remove the scratchblocks shortcode from contributor‑level content or disable the element attribute for these users.
  • Apply site‑wide input filtering or content moderation to strip or escape any JavaScript from shortcode attributes.

Generated by OpenCVE AI on May 12, 2026 at 11:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Tkc49
Tkc49 scratchblocks For Wp
Wordpress
Wordpress wordpress
Vendors & Products Tkc49
Tkc49 scratchblocks For Wp
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title scratchblocks for WP <= 1.0.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'element' Shortcode Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
May 13, 2026, 9:54 AM
Reserved
Apr 13, 2026, 6:05 PM
Status
Deferred
Published
May 12, 2026, 9:16 AM
Modified
Jun 17, 2026, 11:00 AM