Skip to main content
← All vulnerabilities
CVE-2026-46360GHSA-WHQH-9PQ5-C7R3

phpMyFAQ - Stored XSS via Entity Decoding Depth Limit Bypass in SVG Sanitizer

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.1.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • thorsten phpmyfaq

    fixed in 4.1.2

  • phpmyfaq/phpmyfaqPackagist

    fixed in 4.1.2

  • thorsten/phpmyfaqPackagist

    fixed in 4.1.2

References 2

GitHub · thorsten/phpMyFAQ

vulncheck.com