BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2024-3565

MEDIUM 5.4 CVSS 3.1
Published
June 1, 2024
Last modified
June 17, 2026
NVD status
Modified
Reported by
security@wordfence.com
Weakness
CWE-79
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

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.

Affected WordPress components

  • Content Blocks (Custom Post Widget) Plugin · custom-post-widget
    Confirmed match Active
    Up to and including 3.3.0
    View on WordPress.org

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • vanderwijk Content Blocks (Custom Post Widget) — Up to and including 3.3.0
  • johan_van_der_wijk content_blocks_custom_post_widget — Up to and including 3.3.0
  • vanderwijk content_blocks — Before 3.3.1

References

  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/custom-post-widget/trunk/shortcode.php#L62 Product
  • plugins.trac.wordpress.org 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 Patch
  • www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/16d8eab2-953a-46bf-a0f6-296bcea86305?source=cve Third Party Advisory
  • nvd.nist.gov Official NVD record