p PatchFirst

CVE-2026-57961

CVE-2026-57961 · phpMyFAQ - Authenticated Path Traversal in PDF Export via concatenatePaths Function

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 5.1 · Moyenne · EPSS 0,4% · Correctif disponible

Publication
Mise à jour

Pile logicielle: php

Produits et versions concernés

  • phpmyfaq

    Versions du logiciel
    • ≥ 0, < 4.1.5: Concernée (semver)
    • 4.1.5: Non concernée (semver)

    Mettez à jour vers 4.1.5

  • thorsten/phpmyfaq Packagist

    Versions du logiciel
    • 4.0.0
    • 4.0.0-RC
    • 4.0.0-RC.2
    • 4.0.0-RC.3
    • 4.0.0-RC.4
    • 4.0.0-RC.5
    • 4.0.0-alpha
    • 4.0.0-alpha.2
    • 4.0.0-alpha.3
    • 4.0.0-alpha.4
    • 4.0.0-beta
    • 4.0.0-beta.2
    • 4.0.1
    • 4.0.10
    • 4.0.11
    • 4.0.12
    • 4.0.13
    • 4.0.14
    • 4.0.15
    • 4.0.16
    • 4.0.18
    • 4.0.19
    • 4.0.2
    • 4.0.3
    • 4.0.4
    • 4.0.5
    • 4.0.6
    • 4.0.7
    • 4.0.8
    • 4.0.9
    • 4.1.0
    • 4.1.0-RC
    • 4.1.0-RC.2
    • 4.1.0-RC.4
    • 4.1.0-RC.5
    • 4.1.0-RC.6
    • 4.1.0-RC.7
    • 4.1.0-alpha
    • 4.1.0-alpha.2
    • 4.1.0-alpha.3
    • 4.1.0-beta
    • 4.1.0-beta.2
    • 4.1.1
    • 4.1.2
    • 4.1.3
    • 4.1.4
    Plages de versions concernées
    • ECOSYSTEM: ≥ 4.0.0-alpha, < 4.1.5

    Mettez à jour vers 4.1.5

  • phpmyfaq/phpmyfaq Packagist

    Versions du logiciel
    • 4.0.0
    • 4.0.0-RC
    • 4.0.0-RC.2
    • 4.0.0-RC.3
    • 4.0.0-RC.4
    • 4.0.0-RC.5
    • 4.0.0-alpha
    • 4.0.0-alpha.2
    • 4.0.0-alpha.3
    • 4.0.0-alpha.4
    • 4.0.0-beta
    • 4.0.0-beta.2
    • 4.0.1
    • 4.0.10
    • 4.0.11
    • 4.0.12
    • 4.0.13
    • 4.0.14
    • 4.0.15
    • 4.0.16
    • 4.0.18
    • 4.0.19
    • 4.0.2
    • 4.0.3
    • 4.0.4
    • 4.0.5
    • 4.0.6
    • 4.0.7
    • 4.0.8
    • 4.0.9
    • 4.1.0
    • 4.1.0-RC
    • 4.1.0-RC.2
    • 4.1.0-RC.4
    • 4.1.0-RC.5
    • 4.1.0-RC.6
    • 4.1.0-RC.7
    • 4.1.0-alpha
    • 4.1.0-alpha.2
    • 4.1.0-alpha.3
    • 4.1.0-beta
    • 4.1.0-beta.2
    • 4.1.1
    • 4.1.2
    • 4.1.3
    • 4.1.4
    Plages de versions concernées
    • ECOSYSTEM: ≥ 4.0.0-alpha, < 4.1.5

    Mettez à jour vers 4.1.5

Sources originales

Vérifiez votre serveur →