CVE-2026-76210: External Control of File Name or Path in thorsten phpMyFAQ
Description
phpMyFAQ versions before 4.1.6 have a vulnerability where HTML in FAQ answers is not properly sanitized before generating PDFs using TCPDF. An attacker with permission to create or edit FAQ content can embed an <img> tag referencing local files under the web root's content/ directory. When the PDF is generated, phpMyFAQ tries to read the referenced file, causing an error that results in an uncaught exception. This exception discloses part of the file's contents in the stack trace to any user triggering the PDF export. The disclosed content is truncated by default but can be configured to reveal entire files, including sensitive data like database credentials.
CVSS v4.0
Score 7.1high
Affected software
thorsten
phpMyFAQ
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-76210 affects phpMyFAQ versions prior to 4.1.6. The vulnerability arises because the application does not adequately sanitize HTML content in FAQ answers before generating PDFs via TCPDF. An attacker with limited privileges to create or edit FAQ entries can embed an <img> tag with a src attribute pointing to local files within the web root's content/ directory. During PDF generation, phpMyFAQ attempts to read these files as images, which fails and triggers an uncaught exception. The stack trace of this exception is exposed in the PDF export process, leaking partial or full contents of the referenced files depending on configuration. This can lead to disclosure of sensitive files such as configuration files containing database credentials.
Potential Impact
This vulnerability allows an attacker with permission to create or edit FAQ content to disclose sensitive local files on the server by embedding references to them in FAQ answers. The disclosed data can include critical information like database credentials, potentially compromising the confidentiality of the system. The vulnerability does not require user interaction or elevated privileges beyond content editing rights. The CVSS 4.0 score is 7.1 (high severity), reflecting the network attack vector, low attack complexity, no user interaction, and high impact on confidentiality.
Mitigation Recommendations
A fixed version of phpMyFAQ is available starting from version 4.1.6. Users should upgrade to version 4.1.6 or later to remediate this vulnerability. Until upgrading, restrict permissions to create or edit FAQ content to trusted users only. Avoid configurations that increase the length of exception string parameters to limit potential data disclosure. Review and sanitize FAQ content to prevent embedding of malicious HTML tags referencing local files.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-19T11:34:28.576Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a85bc76acd9273b492f4982
Added to database: 08/19/2026, 14:23:50 UTC
Last enriched: 09/11/2026, 08:48:55 UTC
Last updated: 10/04/2026, 10:02:29 UTC
Views: 60
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.