CVE-2026-140388
published high CVSS 4.0 · 8.7phpMyFAQ before 4.1.12 Stored XSS via layout.customCss Configuration Field
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| thorsten | — | phpMyFAQ0 to < 4.1.12 (affected · semver) · 4.1.12 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.7 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| thorsten | phpMyFAQ | 0 to < 4.1.12 (affected · semver)4.1.12 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2- GitHub Security Advisory (GHSA-7jxx-h8hx-jxxf) https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-7jxx-h8hx-jxxf
- VulnCheck Advisory: phpMyFAQ before 4.1.12 Stored XSS via layout.customCss Configuration Field https://www.vulncheck.com/advisories/phpmyfaq-before-4.1.12-stored-xss-via-layout-customcss-configuration-field
Provider assertions
1VulnCheck · cna
phpMyFAQ before 4.1.12 Stored XSS via layout.customCss Configuration Field
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f337d764b6a93a880c7d1c3ff895b5fc3a85d062dc1d2723fd7b23deabb9678a
- Ingested
- 01 Dec 2026, 14:36:39 UTC
- Source record
- Official CVE record