Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. thorsten/phpmyfaq
  4. ›
  5. GHSA-w9xh-5f39-vq89

GHSA-w9xh-5f39-vq89: phpMyFAQ: Missing Password Reset Token Allows Account Takeover via Username/Email Enumeration

May 20, 2026

An authentication bypass vulnerability in phpMyFAQ allows any unauthenticated attacker to reset the password of any user account, including SuperAdmin accounts. By sending a PUT request with just a valid username and associated email address to /api/user/password/update, an attacker receives a new plaintext password via email without any token verification, rate limiting, or email confirmation. This enables complete account takeover of any user, including full administrative access.

References

  • github.com/advisories/GHSA-w9xh-5f39-vq89
  • github.com/thorsten/phpMyFAQ/security/advisories/GHSA-w9xh-5f39-vq89

Code Behaviors & Features

Detect and mitigate GHSA-w9xh-5f39-vq89 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.3

Fixed versions

  • 4.1.3

Solution

Upgrade to version 4.1.3 or above.

Impact 8.2 HIGH

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

Learn more about CVSS

Weakness

  • CWE-307: Improper Restriction of Excessive Authentication Attempts
  • CWE-359: Exposure of Private Personal Information to an Unauthorized Actor
  • CWE-640: Weak Password Recovery Mechanism for Forgotten Password

Source file

packagist/thorsten/phpmyfaq/GHSA-w9xh-5f39-vq89.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:27 +0000.