Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as FAQ editor
-
DeliveryCraft SVG with script split around processing instruction
-
ExploitUpload file bypassing SvgSanitizer single-pass removal
-
ExecutionVictim opens stored SVG
-
ImpactScript executes in application origin
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Requires an authenticated account with FAQ-editor privileges capable of uploading SVG files (PR:L), and exploitation only triggers when a victim subsequently opens the stored SVG (UI:P / passive interaction). The specific technical prerequisite is the flawed single-pass SvgSanitizer: an attacker splits a script tag around removed tokens such as XML processing instructions so that removal reassembles executable markup. Limiting factors: only affects phpMyFAQ 4.2.0-alpha up to (not including) 4.2.0-beta, the attacker must already hold editor-level access, no automatic execution occurs without a victim viewing the file, and impact is confined to the application origin. |
| Impact | This is a medium-severity, genuinely medium-real-risk issue rather than a top-priority emergency. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N with SC:L/SI:L) scores 5.1 and describes a stored XSS requiring an authenticated FAQ-editor account (PR:L) plus a victim passively opening the malicious SVG (UI:P) - two gating conditions that meaningfully reduce mass-exploitability. There is no public exploit identified at time of analysis, no CISA KEV listing, and no EPSS score was provided in the input, so there is no positive signal of active or imminent exploitation; the absence of these signals is consistent with a low-urgency, insider-or-social-engineering-dependent bug rather than a wormable flaw. The technical impact is partial (C:L/I:L) and limited to script execution in the application origin against users who view the uploaded file. SSVC-style framing: exploitation = none observed, automatable = no (requires authored content plus victim interaction), technical impact = partial. No conflicting signals were found - the network vector is consistent with a web application and the PR:L/UI:P metrics align with the 'FAQ editors store SVG, victims open it' description. |
| Exploit ScenarioDerived | A user with FAQ-editor privileges crafts a malicious SVG in which script tags are split around tokens such as XML processing instructions, uploads it, and the SvgSanitizer's single-pass removal strips the intervening token and reassembles a working <script> element. When another user (e.g., a reader or administrator) opens the stored SVG, the script executes in the phpMyFAQ application origin, enabling session theft or actions in the victim's context. No public exploit code was identified at time of analysis, though the reassembly technique is described in detail in the advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 17, 2026
Stored cross-site scripting in phpMyFAQ 4.2.0-alpha allows FAQ editors to bypass SVG sanitization and execute script in the application origin when a victim opens a crafted SVG file. Exploitation requires an authenticated account with FAQ-editor privileges and victim interaction; the root cause is a single-pass sanitizer that can reassemble a split script tag around removed XML processing instructions. Only the 4.2.0 pre-release window from 4.2.0-alpha up to but not including 4.2.0-beta is affected, and no public exploit identified at time of analysis.
RemediationAI
Vendor-released fix: upgrade phpMyFAQ to 4.2.0-beta or later, which is outside the affected range per the advisory. If upgrading is not immediately possible, disable SVG uploads for FAQ editors or restrict attachment types to non-executable raster images; this removes the attack path but breaks legitimate SVG attachments. As an additional compensating control, serve uploaded SVGs from a separate origin or with Content-Disposition: attachment plus X-Content-Type-Options: nosniff, and apply a Content-Security-Policy that blocks inline script; these controls reduce same-origin execution but can break existing embedded content and inline scripts, so test before enforcing. Review and remove any SVG files already stored by editor accounts, and consult GHSA-95fm-rwq4-rxrf for vendor guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The issue is CWE-182 (Collapse of Data into Unsafe Value) in phpMyFAQ's SvgSanitizer. SVG is XML-based and can contain executable script; the sanitizer performs a single removal pass over dangerous tokens such as XML processing instructions rather than iterating to a fixed point. An attacker with FAQ-editor rights can split a script tag around a removable token so that the removal step collapses the surrounding text into valid executable markup. The CVSS vector confirms network reachability, low privileges (authenticated editor), passive user interaction (UI:P), scope change (S:C), and low confidentiality and integrity impact, with no availability impact. Execution is confined to the phpMyFAQ origin when a victim opens the stored SVG, so the attacker can act with the victim's privileges and access same-origin data, but does not gain automatic execution or broader host compromise.
Know when Phpmyfaq gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Authenticated editor upload gives PR:L; victim must open the file so UI:R; stored XSS executing in the browser origin crosses to other users so S:C with partial C:L/I:L and no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
phpMyFAQ from 4.2.0-alpha before 4.2.0-beta contains a stored cross-site scripting vulnerability in SvgSanitizer that allows FAQ editors to store executable SVG files. Attackers can split script tags around removed tokens like processing instructions so single-pass removal reassembles them, executing script in the application origin when victims open the file.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Duplicate-email registration handling in phpMyFAQ 4.0.7 through 4.0.13 (and 4.0-nightly-2025-10-03 and earlier) lets una
Insufficient Session Expiration in GitHub repository thorsten/phpmyfaq prior to 3.2.2. Rated critical severity (CVSS 9.8
Authentication Bypass by Capture-replay in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity (CVSS 9.8), t
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.8. Rated critical severity (CVSS 9.8), th
Unauthenticated SQL injection in phpMyFAQ before 4.1.2 allows remote attackers to extract credentials, admin tokens, and
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.ratings.php. Rated high severity (CVS
In phpMyFaq before 2.9.9, there is CSRF in admin/ajax.config.php. Rated high severity (CVSS 8.8), this vulnerability is
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) for modifying a glossary. Rated high severity (CVSS
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.main.php. Rated high severity (CVSS 8
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
EUVD-2026-103323
GHSA-fch3-7f9r-g5gg
NVD
CVE.org
EPSS
VulDB
Exploit-DB