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

CVE-2026-32629 · Severity: medium · CVSS 6.1 · Published 2026-04-02

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.

Technologies: phpmyfaq/phpmyfaq (Packagist), thorsten/phpmyfaq (Packagist), Phpmyfaq. Vendors: Packagist, Phpmyfaq.

Quick answers

Is CVE-2026-32629 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-32629 being exploited in the wild.
How severe is CVE-2026-32629?
Medium severity, with a CVSS score of 6.1, published 2 April 2026.
Which products and versions are affected?
phpmyfaq/phpmyfaq (Packagist) ECOSYSTEM:introduced=0,fixed=4.1.1; thorsten/phpmyfaq (Packagist) ECOSYSTEM:introduced=0,fixed=4.1.1.
Is there a fix for CVE-2026-32629?
Yes. phpmyfaq/phpmyfaq (Packagist): upgrade to 4.1.1 or later; thorsten/phpmyfaq (Packagist): upgrade to 4.1.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-32629?
Check whether you run phpmyfaq/phpmyfaq (Packagist), thorsten/phpmyfaq (Packagist) or Phpmyfaq at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • phpmyfaq/phpmyfaq (Packagist): upgrade to 4.1.1 or later
    composer require phpmyfaq/phpmyfaq:^4.1.1
  • thorsten/phpmyfaq (Packagist): upgrade to 4.1.1 or later
    composer require thorsten/phpmyfaq:^4.1.1

Affected products

  • phpmyfaq/phpmyfaq (Packagist) ECOSYSTEM:introduced=0,fixed=4.1.1
  • thorsten/phpmyfaq (Packagist) ECOSYSTEM:introduced=0,fixed=4.1.1
  • Phpmyfaq

Identifiers

  • CVE-2026-32629
  • GHSA-98gw-w575-h2ph

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.