CVE-2024-6432
Content Blocks (Custom Post Widget) <= 3.3.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via content Parameter
- State
- Published
- Severity
- 6.4 Medium
- Published
- Feb 20, 2025
- Updated
- Apr 8, 2026
- Reserved
- Jul 1, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.4 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
Content Blocks (Custom Post Widget)vanderwijk |
|
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/
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.