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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-12-01T14:29:19.074Z
- Modified: 2026-12-01T15:18:03.737Z
- Weaknesses: CWE-79
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- thorsten phpMyFAQ: before 4.1.12 (not affected: 4.1.12)

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N`

## References

- <https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-7jxx-h8hx-jxxf> (vendor-advisory)
- <https://www.vulncheck.com/advisories/phpmyfaq-before-4.1.12-stored-xss-via-layout-customcss-configuration-field> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-140388](https://www.cve.org/CVERecord?id=CVE-2026-140388), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-140388](https://nvd.nist.gov/vuln/detail/CVE-2026-140388), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-140388 · Whole record: https://cve.day/CVE-2026-140388.json · Rebuilt by cve.day 2026-12-01T15:32:28.501Z
