CVE-2026-76210

phpMyFAQ before 4.1.6 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 <img> 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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*

History

01 Sep 2026, 15:21

Type Values Removed Values Added
References () https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-c63q-xx7x-j8w2 - () https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-c63q-xx7x-j8w2 - Exploit, Mitigation, Vendor Advisory
References () https://www.vulncheck.com/advisories/phpmyfaq-before-local-file-disclosure-via-pdf-export - () https://www.vulncheck.com/advisories/phpmyfaq-before-local-file-disclosure-via-pdf-export - Third Party Advisory
First Time Phpmyfaq phpmyfaq
Phpmyfaq
CPE cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*

21 Aug 2026, 20:16

Type Values Removed Values Added
References () https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-c63q-xx7x-j8w2 - () https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-c63q-xx7x-j8w2 -

21 Aug 2026, 12:16

Type Values Removed Values Added
Summary (en) 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 <img> 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. (en) phpMyFAQ before 4.1.6 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 <img> 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.

19 Aug 2026, 14:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-08-19 14:17

Updated : 2026-09-01 15:21


NVD link : CVE-2026-76210

Mitre link : CVE-2026-76210

CVE.ORG link : CVE-2026-76210


JSON object : View

Products Affected

phpmyfaq

  • phpmyfaq
CWE
CWE-73

External Control of File Name or Path