p PatchFirst

CVE-2026-57961

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

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

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 · Media · EPSS 0,4% · Corrección disponible

Publicación
Actualización

Pila tecnológica: php

Productos y versiones afectados

  • phpmyfaq

    Versiones
    • ≥ 0, < 4.1.5: Afectada (semver)
    • 4.1.5: No afectada (semver)

    Actualiza a 4.1.5

  • thorsten/phpmyfaq Packagist

    Versiones
    • 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
    Intervalos de versiones afectados
    • ECOSYSTEM: ≥ 4.0.0-alpha, < 4.1.5

    Actualiza a 4.1.5

  • phpmyfaq/phpmyfaq Packagist

    Versiones
    • 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
    Intervalos de versiones afectados
    • ECOSYSTEM: ≥ 4.0.0-alpha, < 4.1.5

    Actualiza a 4.1.5

Fuentes originales

Comprueba tu servidor →