CVE-2026-140388 PUBLISHED

phpMyFAQ before 4.1.12 Stored XSS via layout.customCss Configuration Field

Assigner: VulnCheck
Reserved: 01.12.2026 Published: 01.12.2026 Updated: 01.12.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.

Metrics

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
CVSS Score: 8.7

Product Status

Vendor thorsten
Product phpMyFAQ
Versions Default: unaffected
  • affected from 0 to 4.1.12 (excl.)
  • Version 4.1.12 is unaffected

Credits

  • immanuwell reporter

References

Problem Types

  • Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE