Live threats

All CVEs / phpMyFAQ

CVE-2026-57961phpMyFAQ

Medium 5.1

Priority
31
CVSS 4.0
5.1
EPSS
—
Auth required
Yes
Published
Jul 10, 2026
Updated
Jul 10, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

phpMyFAQ before 4.1.5 contains a potential authenticated path traversal vulnerability 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 locates the substring "content" within a user-controlled path using strpos(); when "content" is absent, strpos() returns false, which becomes 0 when cast to an integer, preserving the entire attacker-controlled path. This path is later passed to file_get_contents() without canonicalization or root-directory containment validation, which may allow reading of files outside the intended content directory.

Original NVD text.

What to do

  1. Apply the vendor's security update for phpMyFAQ.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist phpmyfaq/phpmyfaq ≥ 4.0.0-alpha < 4.1.5 4.1.5 composer require "phpmyfaq/phpmyfaq:^4.1.5"
Packagist thorsten/phpmyfaq ≥ 4.0.0-alpha < 4.1.5 4.1.5 composer require "thorsten/phpmyfaq:^4.1.5"

Per OSV / GitHub Advisories (GHSA-88g4-74f3-63x9). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.