medium5.4
CVE-2026-46363
phpMyFAQ before 4.1.2 contains a stored cross-site scripting vulnerability in FAQ creation and update endpoints that bypass sanitization through encode-decode …
Impact
phpMyFAQ before 4.1.2 contains a stored cross-site scripting vulnerability in FAQ creation and update endpoints that bypass sanitization through encode-decode cycles. The vulnerability allows authenticated attackers with FAQ_ADD permission to inject malicious script tags via question or answer parameters, which execute in every visitor's browser when FAQ content is rendered with the raw Twig filter.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | phpmyfaq/phpmyfaq | <= 4.1.1 | 4.1.2 |
| composer | thorsten/phpmyfaq | <= 4.1.1 | 4.1.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-f5p7-2c9q-8896
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-f5p7-2c9q-8896
- https://nvd.nist.gov/vuln/detail/CVE-2026-46363
- https://www.vulncheck.com/advisories/phpmyfaq-stored-xss-in-faq-question-answer-via-encode-decode-bypass