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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-98gw-w575-h2ph Exploit, Vendor Advisory
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-98gw-w575-h2ph Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.4 · phpmyfaqNVD modified 2026-10-26 21:10
Affected (CPE criteria) 1
cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*
References 3
- https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.1 Product
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-98gw-w575-h2ph Exploit, Vendor Advisory
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-98gw-w575-h2ph Exploit, Vendor Advisory