CVE Catalog

CVE-2026-46360

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

4th percentile - higher than 4% of all known CVEs

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.

Risk Assessment

A user with FAQ_EDIT permission can upload a malicious SVG that executes arbitrary JavaScript in the browsers of other users who click it. This can lead to session theft or actions performed on behalf of the victim.

Recommendation

Update phpMyFAQ to version 4.1.2 or later. Restrict FAQ_EDIT permission and consider blocking SVG uploads until the patch is applied.

Other vulnerabilities in phpMyFAQ

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS