CVE-2026-34728CWE-22

phpMyFAQ: Path Traversal - Arbitrary File Deletion in MediaBrowserController

High · published April 2, 2026

CVSS v3.1
8.7
EPSS
1%
Percentile
55.8
In the wild
Unconfirmed
What it is

phpMyFAQ is an open source FAQ web application. Prior to version 4.1.1, the MediaBrowserController::index() method handles file deletion for the media browser. When the fileRemove action is triggered, the user-supplied name parameter is concatenated with the base upload directory path without any path traversal validation. The FILTER_SANITIZE_SPECIAL_CHARS filter only encodes HTML special characters (&, ', ", <, >) and characters with ASCII value < 32, and does not prevent directory traversal sequences like ../. Additionally, the endpoint does not validate CSRF tokens, making it exploitable via CSRF attacks. This issue has been patched in version 4.1.1.

The record
Technical detail
CVSS v3.1
8.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00791 · 55.8th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-04-02T14:44Z
EPSS history
Timeline
  • 02 APR 14:44Z
    phpMyFAQ: Path Traversal - Arbitrary File Deletion in MediaBrowserController
    cvelistv5