Skip to main content

phpMyFAQ CVE-2026-111896

| EUVDEUVD-2026-103323 MEDIUM
Collapse of Data into Unsafe Value (CWE-182)
2026-10-17 VulnCheck GHSA-fch3-7f9r-g5gg
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as FAQ editor
  2. Delivery
    Craft SVG with script split around processing instruction
  3. Exploit
    Upload file bypassing SvgSanitizer single-pass removal
  4. Execution
    Victim opens stored SVG
  5. Impact
    Script 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

phpMyFAQ 4.2.0-alpha <4.2.0-beta

Affected Packages

euvd phpmyfaq fix: 4.2.0-beta

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

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Oct 17, 2026 - 20:16 EUVD

DescriptionCVE.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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
niche open-source PHP FAQ management software, limited enterprise footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2025-59943 CRITICAL POC
9.8 Oct 03

Duplicate-email registration handling in phpMyFAQ 4.0.7 through 4.0.13 (and 4.0-nightly-2025-10-03 and earlier) lets una

CVE-2023-5865 CRITICAL POC
9.8 Oct 31

Insufficient Session Expiration in GitHub repository thorsten/phpmyfaq prior to 3.2.2. Rated critical severity (CVSS 9.8

CVE-2023-1886 CRITICAL POC
9.8 Apr 05

Authentication Bypass by Capture-replay in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity

CVE-2023-1753 CRITICAL POC
9.8 Mar 31

Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity (CVSS 9.8), t

CVE-2022-3754 CRITICAL POC
9.8 Oct 29

Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.8. Rated critical severity (CVSS 9.8), th

CVE-2026-46364 CRITICAL POC
9.3 May 15

Unauthenticated SQL injection in phpMyFAQ before 4.1.2 allows remote attackers to extract credentials, admin tokens, and

CVE-2017-15730 HIGH POC
8.8 Oct 22

In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.ratings.php. Rated high severity (CVS

CVE-2017-15808 HIGH POC
8.8 Oct 23

In phpMyFaq before 2.9.9, there is CSRF in admin/ajax.config.php. Rated high severity (CVSS 8.8), this vulnerability is

CVE-2017-15735 HIGH POC
8.8 Oct 22

In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) for modifying a glossary. Rated high severity (CVSS

CVE-2017-15734 HIGH POC
8.8 Oct 22

In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.main.php. Rated high severity (CVSS 8

CVE-2024-28107 HIGH POC
8.8 Mar 25

phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi

CVE-2024-27299 HIGH POC
8.8 Mar 25

phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy