Vulnerability · Published Feb 20, 2025 · Assigned by Wordfence
CVE-2024-6432Content Blocks (Custom Post Widget) <= 3.3.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via content Parameter
Medium 6.4
In plain English
A medium-severity cross-site scripting in Content Blocks (Custom Post Widget) from vanderwijk. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities).
Official description
The Content Blocks (Custom Post Widget) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘content’ parameter within the plugin's shortcode Content Block in all versions up to, and including, 3.3.5 due to insufficient input sanitization and output escaping. 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| vanderwijk | Content Blocks (Custom Post Widget) | 0 – through 3.3.5 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1f784dfa-5c31-4c44-9230-7beac7f56893?source=cve
- https://plugins.trac.wordpress.org/browser/custom-post-widget/trunk/shortcode.php#L73
- https://wordpress.org/plugins/custom-post-widget/#developers
- https://plugins.trac.wordpress.org/changeset/3146407/#file6
- https://plugins.trac.wordpress.org/changeset/3147521/