CVE-2026-140388: phpMyFAQ before 4.1.12 Stored XSS via layout.customCss Configuration Field

Published Dec 1, 2026
·
Updated

phpMyFAQ before 4.1.12 contains a stored cross-site scripting vulnerability that allows delegated admins with the CONFIGURATIONEDIT 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 Software

1 affected component
PhpMyFaq phpmyfaq<4.1.12

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.1.12

Event History

Dec 1, 2026
CVE Published
via MITRE·02:29 PM
Data Sourced
via MITRE·02:29 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue, and who is exposed to the injected script?

Exploitation requires a delegated phpMyFAQ administrator with the CONFIGURATION_EDIT right. Once stored in layout.customCss, the script executes in every public visitor's browser, including SuperAdmin users.

2

What access and interaction does exploitation require?

The attacker needs network access, high privileges in the form of the CONFIGURATION_EDIT right, and access to the admin configuration API. No victim interaction is required for the payload to be stored, but it executes when users visit affected public pages.

3

Which versions require remediation?

phpMyFAQ versions before 4.1.12 are affected. Updating to 4.1.12 or later addresses the affected version range described here.

4

What can be done if an update cannot be applied immediately?

Restrict the CONFIGURATION_EDIT right to fully trusted administrators and review the layout.customCss setting for content that closes the style block or includes script payloads. Remove any malicious configuration values and treat sessions of users who may have visited affected pages, especially SuperAdmins, as potentially exposed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203