CVE-2026-46363
MEDIUM5.4EPSS 0.03%phpMyFAQ: Stored XSS in FAQ Question/Answer via Encode-Decode Bypass of removeAttributes() Sanitization
Published: 5/15/2026Modified: 5/21/2026
Also known as:GHSA-h36g-93qx-rxgr
Description
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 (2)
- Packagist/phpMyFAQ/phpMyFAQfrom 0, < 4.1.2
- Packagist/thorsten/phpMyFAQfrom 0, < 4.1.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |