Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-140388
Published:December 01, 2026
Updated:December 03, 2026
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.
Affected Packages
https://github.com/thorsten/phpMyFAQ.git (GITHUB):
Affected version(s) >=4.2.0-alpha <4.2.0-RC.2
Fix Suggestion:
Update to version 4.2.0-RC.2
https://github.com/thorsten/phpMyFAQ.git (GITHUB):
Affected version(s) >=2.5.2 <4.1.12 || >=3.0.0-alpha <4.1.12 || >=4.0.0-alpha <4.1.12 || >=4.0.1 <4.1.12 || >=4.1.0-alpha <4.1.12 || >=4.1.1 <4.1.12
Fix Suggestion:
Update to version 4.1.12
thorsten/phpmyfaq (PHP):
Affected version(s) >=4.2.0-alpha <4.2.0-RC.2
Fix Suggestion:
Update to version 4.2.0-RC.2
thorsten/phpmyfaq (PHP):
Affected version(s) >=2.8.0-alpha2 <4.1.12 || >=4.0.0-alpha <4.1.12 || >=3.0.0-alpha <4.1.12
Fix Suggestion:
Update to version 4.1.12
phpmyfaq/phpmyfaq (PHP):
Affected version(s) >=2.8.0-alpha2 <4.1.12 || >=4.0.0-alpha <4.1.12 || >=3.0.0-alpha <4.1.12
Fix Suggestion:
Update to version 4.1.12
phpmyfaq/phpmyfaq (PHP):
Affected version(s) >=4.2.0-alpha <4.2.0-RC.2
Fix Suggestion:
Update to version 4.2.0-RC.2
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
HIGH
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation
EPSS
Base Score:
0.49