phpMyFAQ before 4.1.7 does not adequately sanitize HTML...
High severity
Unreviewed
Published
Aug 19, 2026
to the GitHub Advisory Database
•
Updated Aug 19, 2026
Description
Published by the National Vulnerability Database
Aug 19, 2026
Published to the GitHub Advisory Database
Aug 19, 2026
Last updated
Aug 19, 2026
phpMyFAQ before 4.1.7 does not adequately sanitize HTML in FAQ answers before generating PDFs via TCPDF. An attacker with permission to create or edit FAQ content can embed an
tag whose src references a local file under the web root's content/ directory (e.g., content/core/config/database.php). When the PDF is generated, phpMyFAQ attempts to read the referenced file; because it is not a valid image the resulting error is converted into an uncaught exception whose stack trace discloses part of the file's contents to any user who triggers the PDF export. By default the disclosed portion is truncated (zend.exception_string_param_max_len), but a larger configured value can result in disclosure of entire files, including database credentials.
References