CVE-2026-46360: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in thorsten phpmyfaq
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.
AI Analysis
Technical Summary
The vulnerability in phpMyFAQ prior to version 4.1.2 is a stored cross-site scripting issue caused by insufficient neutralization of input during web page generation. Specifically, the SvgSanitizer::decodeAllEntities() function limits recursive decoding of entities to 5 iterations, which attackers can bypass by deeply nesting ampersand encoding around numeric HTML entities. Authenticated users with FAQ_EDIT permissions can exploit this to upload SVG files that reconstruct javascript: URLs, leading to arbitrary JavaScript execution when other users view the SVG content.
Potential Impact
Successful exploitation allows an authenticated user with FAQ_EDIT permissions to inject and store malicious JavaScript code within SVG files. When other users view these SVG files, the malicious script executes in their browsers, potentially leading to session hijacking, data theft, or other client-side impacts. The vulnerability does not affect availability and requires user interaction (clicking the SVG).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict FAQ_EDIT permissions to trusted users only and consider disabling SVG uploads if possible to reduce risk.
CVE-2026-46360: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in thorsten phpmyfaq
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.
CVSS v3.1
Score 5.4medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in phpMyFAQ prior to version 4.1.2 is a stored cross-site scripting issue caused by insufficient neutralization of input during web page generation. Specifically, the SvgSanitizer::decodeAllEntities() function limits recursive decoding of entities to 5 iterations, which attackers can bypass by deeply nesting ampersand encoding around numeric HTML entities. Authenticated users with FAQ_EDIT permissions can exploit this to upload SVG files that reconstruct javascript: URLs, leading to arbitrary JavaScript execution when other users view the SVG content.
Potential Impact
Successful exploitation allows an authenticated user with FAQ_EDIT permissions to inject and store malicious JavaScript code within SVG files. When other users view these SVG files, the malicious script executes in their browsers, potentially leading to session hijacking, data theft, or other client-side impacts. The vulnerability does not affect availability and requires user interaction (clicking the SVG).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict FAQ_EDIT permissions to trusted users only and consider disabling SVG uploads if possible to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-05-13T19:40:27.808Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a076ec4ec166c07b0830aa5
Added to database: 05/15/2026, 19:06:44 UTC
Last enriched: 05/28/2026, 19:59:03 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 78
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.