Medium severity5.4NVD Advisory· Published Apr 2, 2026· Updated Apr 6, 2026
CVE-2026-34974
CVE-2026-34974
Description
phpMyFAQ is an open source FAQ web application. Prior to version 4.1.1, the regex-based SVG sanitizer in phpMyFAQ (SvgSanitizer.php) can be bypassed using HTML entity encoding in javascript: URLs within SVG attributes. Any user with edit_faq permission can upload a malicious SVG that executes arbitrary JavaScript when viewed, enabling privilege escalation from editor to full admin takeover. This issue has been patched in version 4.1.1.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
thorsten/phpmyfaqPackagist | < 4.1.1 | 4.1.1 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/thorsten/phpMyFAQ/security/advisories/GHSA-5crx-pfhq-4hggnvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-5crx-pfhq-4hggghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-34974ghsaADVISORY
- github.com/thorsten/phpMyFAQ/releases/tag/4.1.1nvdProductWEB
News mentions
0No linked articles in our index yet.