CVE-2026-34728
HIGHphpMyFAQ: Path Traversal - Arbitrary File Deletion in MediaBrowserController
Title source: cnaDescription
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.
References (2)
Core 2
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-38m8-xrfj-v38x
X_Refsource_Misc x_refsource_misc
https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.1
Scores
CVSS v3
8.7
EPSS
0.0069
EPSS Percentile
48.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-22
Status
published
Products (3)
phpmyfaq/phpmyfaq
< 4.1.1
phpmyfaq/phpmyfaq
0 - 4.1.1Packagist
thorsten/phpMyFAQ
< 4.1.1
Published
Apr 02, 2026
Tracked Since
Apr 02, 2026