Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Phpmyfaq | Phpmyfaq | < 4.1.6 |
Related Weaknesses (CWE)
References
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-c63q-xx7x-j8w2ExploitMitigationVendor Advisory
- https://www.vulncheck.com/advisories/phpmyfaq-before-local-file-disclosure-via-pThird Party Advisory
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-c63q-xx7x-j8w2ExploitMitigationVendor Advisory
FAQ
What is CVE-2026-76210?
CVE-2026-76210 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 refe...
How severe is CVE-2026-76210?
CVE-2026-76210 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-76210?
Check the references section above for vendor advisories and patch information. Affected products include: Phpmyfaq Phpmyfaq.