CVE-2024-3565
published medium CVSS 3.1 · 6.4Content Blocks (Custom Post Widget) <= 3.3.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via content_block Shortcode
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vanderwijk | — | Content Blocks (Custom Post Widget)0 through 3.3.0 · Other versions: unaffected | Affected | Not stated | Wordfence |
| johan_van_der_wijk | — | content_blocks_custom_post_widget0 through 3.3.0 · Other versions: unaffected | Affected | Not stated | CISA-ADP |
Description
The Content Blocks (Custom Post Widget) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'content_block' shortcode in all versions up to, and including, 3.3.0 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vanderwijk | Content Blocks (Custom Post Widget) | 0 through 3.3.0 (affected · semver)Default: unaffected | Wordfence · cna |
| johan_van_der_wijk | content_blocks_custom_post_widget | 0 through 3.3.0 (affected · semver)Default: unaffected | CISA-ADP · adp |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3- https://plugins.trac.wordpress.org/browser/custom-post-widget/trunk/shortcode.php#L62
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3078739%40custom-post-widget&new=3078739%40custom-post-widget&sfp_email=&sfph_mail=#file6
- https://www.wordfence.com/threat-intel/vulnerabilities/id/16d8eab2-953a-46bf-a0f6-296bcea86305?source=cve
Provider assertions
3Wordfence · cna
Content Blocks (Custom Post Widget) <= 3.3.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via content_block Shortcode
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1a8d95bb911d06ec01c1142767394dc017658165c4cad25f27548ed245681b3f
- Ingested
- 23 Sep 2026, 08:25:48 UTC
- Source record
- Official CVE record