CVE-2026-46360

Medium

Description

phpMyFAQ before 4.1.2 contains a stored cross-site scripting vulnerability in SvgSanitizer::decodeAllEntities() that limits recursive entity decoding to 5 iterations, allowing attackers to bypass sanitization. Authenticated users with FAQ_EDIT permission can upload malicious SVG files with deeply nested ampersand encoding around numeric HTML entities to reconstruct javascript: URLs, which execute arbitrary JavaScript when clicked by other users viewing the uploaded SVG.

SeverityMedium
CVSS5.4
Exploit probability8. percentile0.2%
ProductPhpmyfaq/phpmyfaq
PublishedMay 15, 2026
First seenMay 15, 2026

How to fix

Update
  • phpmyfaq/phpmyfaq4.1.2 or later
  • thorsten/phpmyfaq4.1.2 or later

Affected products

ProductAffected versionsFixed in
phpmyfaq/phpmyfaqPackagistv < 4.1.24.1.2
thorsten/phpmyfaqPackagistv < 4.1.24.1.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.