# CVE-2026-46361: phpMyFAQ - Stored Cross-Site Scripting via raw Filter in search.twig

- Severity: High 8.2 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-06T20:31:54.000Z
- Modified: 2026-11-08T14:03:53.644Z
- Also known as: GHSA-pqh6-8fxf-jx22
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

phpMyFAQ before 4.1.2 contains a stored cross-site scripting vulnerability in search.twig where result.question and result.answerPreview are rendered with the raw filter, disabling autoescape protection. Attackers with FAQ editor privileges can inject HTML-entity-encoded payloads that bypass html_entity_decode(strip_tags()) processing in SearchController.php, executing arbitrary JavaScript in every visitor's browser context including administrators.

(As written by CVE List.)

## Affected

- thorsten phpmyfaq: before 4.1.2 (not affected: 4.1.2)
- phpmyfaq/phpmyfaq (Packagist): before 4.1.2
- thorsten/phpmyfaq (Packagist): before 4.1.2

## Every score

- VulnCheck: CVSS:3.1 6.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N`
- VulnCheck: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N`
- GitHub: CVSS:3.1 6.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pqh6-8fxf-jx22> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/phpmyfaq-stored-cross-site-scripting-via-raw-filter-in-search-twig> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-46361> (advisory)
- <https://github.com/thorsten/phpMyFAQ> (package)

## Sources

- CVE List: [CVE-2026-46361](https://www.cve.org/CVERecord?id=CVE-2026-46361), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-pqh6-8fxf-jx22](https://github.com/advisories/GHSA-pqh6-8fxf-jx22), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-46361](https://nvd.nist.gov/vuln/detail/CVE-2026-46361), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-46361 · Whole record: https://cve.day/CVE-2026-46361.json · Rebuilt by cve.day 2026-11-25T22:59:21.836Z
