phpMyFAQ: Stored XSS via Unsanitized Email Field in Admin FAQ Editor
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
phpMyFAQ is an open source FAQ web application. Prior to version 4.1.1, an unauthenticated attacker can submit a guest FAQ with an email address that is syntactically valid per RFC 5321 (quoted local part) yet contains raw HTML — for example "<script>alert(1)</script>"@evil.com. PHP's FILTER_VALIDATE_EMAIL accepts this email as valid. The email is stored in the database without HTML sanitization and later rendered in the admin FAQ editor template using Twig's |raw filter, which bypasses auto-escaping entirely. This issue has been patched in version 4.1.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| thorsten | phpMyFAQ | before 4.1.1 | 4.1.1 | Patch available | CNA |
| — | thorsten/phpmyfaq (Packagist) | before 4.1.1 | 4.1.1 | Patch available | GHSA-98gw-w575-h2ph |
| — | phpmyfaq/phpmyfaq (Packagist) | before 4.1.1 | 4.1.1 | Patch available | GHSA-98gw-w575-h2ph |
- phpMyFAQ Vendorthorsten Affected before 4.1.1 Fixed in 4.1.1 Patch available CNA
- thorsten/phpmyfaq (Packagist) Vendor— Affected before 4.1.1 Fixed in 4.1.1 Patch available GHSA-98gw-w575-h2ph
- phpmyfaq/phpmyfaq (Packagist) Vendor— Affected before 4.1.1 Fixed in 4.1.1 Patch available GHSA-98gw-w575-h2ph
Remediation
- Fix · CNA phpMyFAQ (thorsten) Fixed in 4.1.1
- Fix · GHSA-98gw-w575-h2ph thorsten/phpmyfaq (Packagist) Fixed in 4.1.1 Advisory →
- Fix · GHSA-98gw-w575-h2ph phpmyfaq/phpmyfaq (Packagist) Fixed in 4.1.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-32629
- 2026-10-03 Alias added: GHSA-98gw-w575-h2ph
References
More thorsten Phpmyfaq vulnerabilities
- TI-2023-00296 Improper Authentication in thorsten/phpmyfaq CVSS 3.1CRITICAL 9.8
- TI-2026-53313 phpMyFAQ 3.1.0 through 4.1.6 Authentication Bypass via LDAP CVSS 4.0HIGH 8.8
- TI-2025-37331 phpMyFAQ duplicate email registration allows multiple accounts with the same email CVSS 3.1CRITICAL 9.8
- TI-2024-36257 phpMyFAQ Generates an Error Message Containing Sensitive Information if database server is not available CVSS 3.1HIGH 8.6
- TI-2023-03720 Improper Neutralization of Formula Elements in a CSV File in thorsten/phpmyfaq CVSS 3.1CRITICAL 9.8
- TI-2023-00749 Command Injection in thorsten/phpmyfaq CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-32629 · CVE Program
- CVE-2026-32629 · NVD
- FIRST EPSS
- GHSA-98gw-w575-h2ph · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences