Skip to main content

phpMyFAQ EUVDEUVD-2026-103317

| CVE-2026-111903 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-10-17 VulnCheck GHSA-4fcw-x9vq-q4pp
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain FAQ_EDIT account access
  2. Delivery
    Upload SVG with malicious DTD entity
  3. Exploit
    Entity expands to javascript href bypassing SvgSanitizer
  4. Execution
    Admin clicks crafted anchor link
  5. Impact
    Script runs and hijacks admin session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated account with the FAQ_EDIT permission (PR:L) and the ability to upload SVG files; the attacker crafts an SVG that uses an XML DTD custom entity expanding to a javascript: URI in an anchor href to bypass the SvgSanitizer component. Script execution does NOT occur on upload - it requires a victim (typically an admin) to actively view the FAQ and click the malicious anchor link (UI:P), which is the primary limiting factor. The flaw is confined to phpMyFAQ 4.2.0-alpha releases before 4.2.0-beta, so only instances running that pre-release branch are affected; stable/other-version deployments are not.

Impact

This is a moderate-severity, authenticated stored XSS (CVSS 4.0 base 5.1, CWE-79) that realistically sits below the top of any patch queue. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N) agrees with the description: network-reachable but gated behind an account holding FAQ_EDIT permission (PR:L = authenticated) and dependent on a victim interacting with the malicious content (UI:P). No EPSS score was provided, so exploitation probability cannot be quantified; the CVE is not listed in CISA KEV and no POC or exploit code is referenced, so there is no public exploit identified at time of analysis. The signals are internally consistent - there is no CVSS-vs-description conflict here - but the combined requirement of an existing privileged (FAQ_EDIT) account plus victim click action meaningfully lowers real-world risk versus the raw 'network' attack vector. Primary realistic threat model is a malicious or compromised low-privilege editor escalating to an admin by hijacking an admin session, i.e. a privilege-escalation/insider or post-compromise vector rather than mass remote exploitation.

Exploit ScenarioDerived

An attacker who already holds a FAQ_EDIT account uploads an SVG whose XML DTD defines a custom entity that expands to a javascript: URI inside an anchor href, bypassing SvgSanitizer. When an administrator later views the FAQ content and clicks the crafted link, the script executes in the admin's browser session, enabling session hijacking. No public exploit code is referenced, so exploitation would currently require independent development from the advisory details.

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 lets an authenticated user with FAQ_EDIT permission upload a crafted SVG whose XML DTD entity expands to a javascript: URI in an anchor href, so script runs when a victim clicks the link and can be used to hijack an admin session. The bug is limited to 4.2.0-alpha builds before 4.2.0-beta, requires user interaction (the victim must view the FAQ and click the anchor), and no public exploit code was identified at time of analysis. Rated CVSS 4.0 5.1 (CWE-79), it is a moderate-severity issue that sits below the top of most patch queues.

RemediationAI

Vendor-released patch: upgrade phpMyFAQ to 4.2.0-beta or later, the first release outside the affected 4.2.0-alpha range, per the GitHub advisory at https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-j3v5-p957-w6gq. If upgrading immediately is not possible, restrict FAQ_EDIT to trusted users only (reduces exposure but does not eliminate risk from compromised editor accounts), disable SVG uploads or strip SVG support from the FAQ editor (may break legitimate diagram and image uploads), and re-sanitize uploaded SVG server-side with an XML parser configured to prohibit DTDs and external entity resolution, for example by rejecting documents containing DOCTYPE or ENTITY declarations; this requires custom code and must be tested against valid SVGs. Deploying a Content-Security-Policy that blocks javascript: navigation and inline script can reduce impact but may interfere with the admin UI. Because the payload is stored and can hijack admin sessions, rotate admin session cookies and review FAQ content for suspicious SVG uploads after applying the fix. If no patch can be applied, treat affected alpha deployments as untrusted and limit access to the FAQ editor to a segregated network.

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

phpMyFAQ is a PHP-based FAQ and knowledge-base application; the affected component is SvgSanitizer, which is intended to strip dangerous content from user-uploaded SVG images before they are stored and served. The sanitizer fails to account for XML DTD custom entities: an attacker with FAQ_EDIT can declare an entity in the SVG internal DTD subset that expands to a javascript: URI, and when the sanitized SVG is rendered the anchor href resolves to that URI. This is stored XSS (CWE-79) in which the malicious content is persisted as part of a FAQ entry; execution requires a viewer, typically an administrator, to click the crafted anchor, which is why the assessed CVSS 3.1 vector uses PR:L, UI:R, and scope changed (S:C). The CPE cpe:2.3:a:thorsten:phpmyfaq:*:*:*:*:*:*:*:* is broad, but the vendor advisory and the description confine the flaw to the 4.2.0-alpha pre-release line before 4.2.0-beta; stable branches are not affected.

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

Requires an authenticated FAQ_EDIT account (PR:L) and a victim click (UI:R); stored XSS executes in another user's browser context (S:C) with limited confidentiality/integrity impact 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:A/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 4.2.0-alpha before 4.2.0-beta contains a stored cross-site scripting vulnerability in SvgSanitizer that allows users with FAQ_EDIT permission to bypass sanitization using XML DTD custom entities. Attackers can upload an SVG defining an entity that expands to javascript in an anchor href, executing script when viewers click it to hijack admin sessions.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
niche open-source FAQ application, limited enterprise production 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