Description
phpMyFAQ 4.0.12 through 4.0.19, 4.1.x before 4.1.12, and 4.2.0 pre-releases before 4.2.0-RC.1 contain a stored cross-site scripting vulnerability in startpage.twig, where top-ten FAQ titles are rendered with Twig's raw filter. Authenticated users with FAQ edit permission can save a question containing a double quote and event handler, which runs script for every start page visitor.
Metrics
CVSS 3.1 5.4/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| thorsten | phpMyFAQ | >= 4.0.12, <= 4.0.19; >= 4.1.0, < 4.1.12; >= 4.2.0-alpha, < 4.2.0-RC.1 |
References
- https://github.com/thorsten/phpMyFAQ/blob/4.1.11/phpmyfaq/assets/templates/default/startpage.twig#L73-L76
- https://github.com/thorsten/phpMyFAQ/blob/4.1.11/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/FaqController.php#L131-L135
- https://github.com/thorsten/phpMyFAQ/commit/f2cd84cac27a6a361fc4334610ee77fef44cf91d
- https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.12
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-wxmp-76j5-f3c9
- https://www.vulncheck.com/advisories/phpmyfaq-4.0.12-through-4.0.19-4.1-x-before-4.1.12-and-4.2.0-pre-releases-stored-xss-via-top-ten-title
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-wxmp-76j5-f3c9
Timeline
- Published
- Nov 17, 2026
- Last modified
- Nov 17, 2026
- NVD status
- Deferred