Security mailing lists by PureSourceCode

CVE-2026-57961

MEDIUM 5.1CVSS 4.0

phpMyFAQ has Potential Authenticated Path Traversal in PDF Export

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.

Published
10 Jul 2026
Last modified
26 Aug 2026
Assigned by
disclosure@vulncheck.com
NVD status
Deferred
Weakness
CWE-22
Also known as
GHSA-88g4-74f3-63x9
Sources
NVDJSONOSV GHSA-88g4-74f3-63x9JSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 MEDIUM 5.1 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
OSV GitHub CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
NVD disclosure@vulncheck.com (Secondary) CVSS 3.1 LOW 2.7 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist thorsten/phpmyfaq >= 4.0.0-alpha, < 4.1.5 4.1.5
OSV Packagist phpmyfaq/phpmyfaq >= 4.0.0-alpha, < 4.1.5 4.1.5

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 10 Jul 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 25 Aug 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.