Vulnerability

CVE-2026-34974

mediumCVSS 3.1 5.4Published 2 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Phpmyfaq phpmyfaq

Weakness type

References

  • github.com /thorsten/phpMyFAQ/releases/tag/4.1.1
  • github.com /thorsten/phpMyFAQ/security/advisories/GHSA-5crx-pfhq-4hgg

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning