CVE-2026-34974Phpmyfaq
Medium 5.4
Follow: this CVE · Phpmyfaq · Phpmyfaq We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 2, 2026
- Updated
- Jul 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Phpmyfaq.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | thorsten/phpmyfaq |
< 4.1.1 |
4.1.1 |
composer require "thorsten/phpmyfaq:^4.1.1" |
Per OSV / GitHub Advisories (GHSA-5crx-pfhq-4hgg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| phpmyfaq | phpmyfaq | < 4.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Exploit Vendor Advisory