Skip to main content

phpMyFAQ EUVDEUVD-2026-71016

| CVE-2026-85593 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-04 VulnCheck GHSA-2xm9-x25x-7x5q
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 with FAQ editor account
  2. Delivery
    Craft FAQ content embedding JavaScript payload
  3. Exploit
    Submit edited FAQ via web interface
  4. Execution
    Server stores raw script after html_entity_decode() strips encoding
  5. Persist
    Victim visits FAQ page
  6. Impact
    Browser executes attacker's stored JavaScript

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 attacker to hold a phpMyFAQ account with FAQ editing privileges (PR:L). Anonymous or read-only users cannot trigger the vulnerability. Once a malicious payload is stored, all subsequent visitors to the affected FAQ page are impacted without any further action by the attacker (passive UI:P). The decode-after-sanitize flaw exists unconditionally in the convertOldInternalLinks() code path - no special server configuration or non-default feature flag is required beyond having FAQ content processed by that function. Exploitation is limited to phpMyFAQ versions before 4.1.8.

Impact

The CVSS 4.0 base score of 5.1 (Medium) reflects the authentication gate (PR:L - FAQ editing privileges required) and passive victim interaction (UI:P - viewing the page), which meaningfully reduce exploitability compared to unauthenticated or zero-interaction XSS. However, because the payload is stored server-side, a single successful injection reaches every subsequent visitor, amplifying real-world impact beyond what the medium score suggests. The scope-change metrics (SC:L/SI:L) confirm cross-user impact. No KEV listing exists and no public POC has been identified, so opportunistic mass exploitation is not currently indicated. Actual risk is highest in deployments where FAQ editing rights are broadly granted to untrusted or lightly-vetted users (e.g., community knowledge bases). In tightly controlled internal deployments with few trusted editors, risk is substantially lower.

Exploit ScenarioDerived

An attacker with a phpMyFAQ editor account crafts a FAQ answer embedding a JavaScript payload - for example, a session-hijacking script. When the server processes the saved content via convertOldInternalLinks(), html_entity_decode() reverses the entity encoding and stores the raw script tag. Any user who subsequently views that FAQ page receives the script in their browser and executes it, potentially exposing their session cookie or triggering further actions under their identity. No public POC has been identified, but the vulnerability is straightforward to reproduce given knowledge of the affected function.

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

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

Alert me

AnalysisAIv1 – Sep 04, 2026

Stored cross-site scripting in phpMyFAQ before 4.1.8 allows authenticated FAQ editors to plant persistent JavaScript payloads that execute in every visitor's browser. The root cause is FaqHelper::convertOldInternalLinks() calling html_entity_decode() on content that was previously sanitized via entity encoding - effectively undoing the protection and re-introducing executable HTML. The impact extends beyond the attacker's own session to all users who subsequently view the poisoned FAQ pages, confirmed by the scope-change metrics in the CVSS 4.0 vector. No public exploit or KEV listing exists at time of analysis.

RemediationAI

Upgrade phpMyFAQ to version 4.1.8 or later, which resolves the decode-after-sanitize flaw in FaqHelper::convertOldInternalLinks(). The vendor security advisory is available at https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-x6qj-5jhf-xgpm. If immediate patching is not possible, the most effective compensating control is to restrict FAQ editing privileges strictly to trusted administrative accounts, preventing untrusted users from reaching the injection point. Additionally, deploying a Content Security Policy (CSP) header that disallows inline scripts can substantially reduce the impact of any stored XSS payloads that reach the browser, though this may require testing for compatibility with phpMyFAQ's own JavaScript features.

Affected VersionsENISA

phpMyFAQ 0 <4.1.8

Affected Packages

euvd phpmyfaq fix: 4.1.8

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 an open-source PHP FAQ management system maintained by Thorsten Rinne (CPE: cpe:2.3:a:thorsten:phpmyfaq). The vulnerability is rooted in CWE-79 (Improper Neutralization of Input During Web Page Generation). The specific flaw is a decode-after-sanitize anti-pattern: the sanitization pipeline encodes dangerous characters (e.g., '<' → '&lt;'), but the subsequent call to PHP's html_entity_decode() in FaqHelper::convertOldInternalLinks() reverts those encodings before the content is rendered, allowing injected HTML and script tags to survive to the browser. This class of bug is particularly subtle because the sanitizer itself functions correctly - it is the post-processing step that reintroduces the attack surface.

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

Network-accessible app, low-privilege editor account required (PR:L), victim must view the page (UI:R), scope change to other users' browsers (S:C); 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
Sep 04, 2026 - 13:02 EUVD

DescriptionCVE.org

phpMyFAQ versions before 4.1.8 contain a stored cross-site scripting vulnerability in FaqHelper::convertOldInternalLinks() that calls html_entity_decode() on sanitized FAQ content, reversing entity-encoding protection. Authenticated users with FAQ editing privileges can inject JavaScript payloads that execute in the browsers of all users viewing the affected FAQ pages.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche open-source PHP FAQ tool, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.1%
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