Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. thorsten/phpmyfaq
  4. ›
  5. CVE-2026-32629

CVE-2026-32629: phpMyFAQ is Vulnerable to Stored XSS via Unsanitized Email Field in Admin FAQ Editor

March 31, 2026 (updated April 6, 2026)

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 “alert(1)"@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.

References

  • github.com/advisories/GHSA-98gw-w575-h2ph
  • github.com/thorsten/phpMyFAQ
  • github.com/thorsten/phpMyFAQ/releases/tag/4.1.1
  • github.com/thorsten/phpMyFAQ/security/advisories/GHSA-98gw-w575-h2ph
  • nvd.nist.gov/vuln/detail/CVE-2026-32629

Code Behaviors & Features

Detect and mitigate CVE-2026-32629 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.1.1

Fixed versions

  • 4.1.1

Solution

Upgrade to version 4.1.1 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/thorsten/phpmyfaq/CVE-2026-32629.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:03 +0000.