PT-2026-57179 · Phpmyfaq · Phpmyfaq

·

CVE-2026-57961

·

Published

2026-07-10

·

Updated

2026-08-25

CVSS v4.0

5.1

Medium

VectorAV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions phpMyFAQ versions prior to 4.1.5
Description An authenticated path traversal issue exists in the concatenatePaths() function within src/phpMyFAQ/Export/Pdf/Wrapper.php. A user with FAQ editing privileges can store HTML containing crafted image paths that are processed during PDF generation. The path resolution logic uses strpos() to locate the substring "content" within a user-controlled path; if "content" is absent, the function returns false, which is cast to 0 as an integer, preserving the attacker-controlled path. This path is then passed to file get contents() without canonicalization or root-directory containment validation, potentially allowing the reading of files outside the intended content directory.
Recommendations Update phpMyFAQ to version 4.1.5 or later.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-57961
GHSA-88G4-74F3-63X9

Affected Products

Phpmyfaq