CVE-2026-140388 - phpMyFAQ before 4.1.12 Stored XSS via layout.customCss Configuration Field
Vulnerability · Reported by NVD · · CWE-79
- Severity
- High Risk score 87/100
- CVSS
- 8.7 v4.0 · from NVD
- Exploit chance (EPSS)
- – Not available yet
- Known exploited
- No Not in CISA KEV
Summary
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.
How this vulnerability can be exploited
This is a cross-site scripting (XSS) flaw (CWE-79). An attacker can exploit this vulnerability remotely over the network, only with administrator-level privileges, and without any action from a user. Attack complexity is high, meaning specific conditions must exist first.
Is it being exploited?
There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.
Patch priority and what to do
Schedule patching in your next maintenance window, and sooner for internet-facing systems. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S
Tags
CVE-2026-140388
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-140388 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.