CVE-2025-68951 phpMyFAQ has stored XSS in admin "List of users" via display_name HTML entity decoding (html_entity_decode) + Twig |raw
An attacker can execute arbitrary JavaScript in an administrator's browser by registering a user with a malicious display name, potentially leading to account takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-68951?
CVE-2025-68951 is a medium-severity cross-site scripting vulnerability in Phpmyfaq Phpmyfaq, published on 29 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
phpMyFAQ is an open source FAQ web application. Versions 4.0.14 and 4.0.15 have a stored cross-site scripting (XSS) vulnerability that allows an attacker to execute arbitrary JavaScript in an administrator’s browser by registering a user whose display name contains HTML entities. 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. Version 4.0.16 contains a patch for the issue.
Weakness: CWE-79
Which versions are affected by CVE-2025-68951?
2 open source packages ship an affected version, including thorsten/phpmyfaq. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
thorsten/phpmyfaq Packagist | From 4.0.14 | 4.0.16 |
thorsten/phpmyfaq Packagist | From 4.0.14 | 4.0.16 |
Products include Phpmyfaq Phpmyfaq.
How do I fix CVE-2025-68951?
Upgrade thorsten/phpmyfaq to 4.0.16 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-68951 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-68951 exists.
Other vulnerabilities in Phpmyfaq Phpmyfaq
- CVE-2023-0310 Cross-site Scripting (XSS) - Stored in thorsten/phpmyfaq
- CVE-2022-4407 Cross-site Scripting (XSS) - Reflected in thorsten/phpmyfaq
- CVE-2017-11187 Security feature bypass in n/a
- CVE-2026-76213 phpMyFAQ before 4.1.7 2FA Brute-Force via Session-Scoped Throttle
- CVE-2026-76214 phpMyFAQ before 4.1.7 WebAuthn Replay Attack via Challenge
Sources
Also known as GHSA-jv8r-hv7q-p6vc.