CVE-2026-140388: Vulnerability in Thorsten phpMyFAQ
Patch soon. phpMyFAQ before 4.1.12 contains a stored cross-site scripting vulnerability that allows delegated admins with the CONFIGURATION_EDIT right to inject scripts via the layout.customCss setting. Attackers can submit a payload closing the style block through the admin configuration API, executing JavaScript in every public visitor's browser, including SuperAdmins, enabling session hijacking.
CWE-79
- Exploitation
- None confirmed
- Severity
- 8.7 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-8jrj-957q-q228
- Vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
- Weakness
- CWE-79
- Published
- 1 Dec 2026
- Last change
- 3 Dec 2026
Affected products
Affected versions and the first fixed release
- Thorsten phpMyFAQ Before 4.1.12. Fixed in 4.1.12
Advisories
Vendor and security advisories
- github.com/thorsten/phpMyFAQ/security/advisories/GHSA-7jxx-h8hx-jxxf
- vulncheck.com/advisories/phpmyfaq-before-4.1.12-stored-xss-via-layout-customcss-configu...
Related
- phpMyFAQ vulnerabilities Recent advisories, watch this product