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

CVE-2025-68951: phpMyFAQ has Stored XSS in user list via admin-managed display_name

December 29, 2025 (updated December 31, 2025)

A stored cross-site scripting (XSS) vulnerability allows an attacker to execute arbitrary JavaScript in an administrator’s browser by registering a user whose display name contains HTML entities (e.g., <img ...>). When an administrator views the admin user list, the payload is decoded server-side and rendered without escaping, resulting in script execution in the admin context.

References

  • github.com/advisories/GHSA-jv8r-hv7q-p6vc
  • github.com/thorsten/phpMyFAQ
  • github.com/thorsten/phpMyFAQ/commit/61829e83411f7b28bc6fd1052bfde54c32c6c370
  • github.com/thorsten/phpMyFAQ/commit/8211d1d25951b4c272443cfc3ef9c09b1363fd87
  • github.com/thorsten/phpMyFAQ/security/advisories/GHSA-jv8r-hv7q-p6vc
  • nvd.nist.gov/vuln/detail/CVE-2025-68951

Code Behaviors & Features

Detect and mitigate CVE-2025-68951 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.0.14 before 4.0.16

Fixed versions

  • 4.0.16

Solution

Upgrade to version 4.0.16 or above.

Impact 5.4 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

packagist/thorsten/phpmyfaq/CVE-2025-68951.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 04 Feb 2026 00:35:44 +0000.