CVE-2026-46360 MEDIUM

CVE-2026-46360: phpMyFAQ - Stored XSS via Entity Decoding Depth Limit Bypass in SVG Sanitizer

Vendor Thorsten
Product phpmyfaq
Weakness CWE-79 · XSS
Published May 15, 2026
Last update May 28, 2026

CVSS base score

5.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 15, 2026 CVE published
May 28, 2026 Record updated

Related vulnerabilities

04Related CVE