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 <a href> 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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
thorsten/phpmyfaqPackagist | < 4.1.1 | 4.1.1 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
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.