WordPress · Content Blocks · CVE-2024-6432
**Name of the Vulnerable Software and Affected Versions**
Content Blocks (Custom Post Widget) plugin for WordPress versions up to, and including, 3.3.5
**Description**
The issue is related to Stored Cross-Site Scripting via the `content` parameter within the plugin's shortcode Content Block due to insufficient input sanitization and output escaping. This allows 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.
**Recommendations**
For versions up to, and including, 3.3.5, update to a version later than 3.3.5 to resolve the issue. As a temporary workaround, consider restricting access to the `content` parameter within the plugin's shortcode Content Block to minimize the risk of exploitation. Additionally, restrict Contributor-level access and above to reduce the potential attack surface.