Skip to main content
← All vulnerabilities
CVE-2026-34728GHSA-38M8-XRFJ-V38X

phpMyFAQ: Path Traversal - Arbitrary File Deletion in MediaBrowserController

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.1.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • thorsten phpMyFAQ

    fixed in 4.1.1

  • phpmyfaq/phpmyfaqPackagist

    fixed in 4.1.1

References 2

GitHub · thorsten/phpMyFAQ