CVE-2026-85593
Received Received - Intake

Stored XSS in phpMyFAQ Prior to Version 4.1.8

Vulnerability report for CVE-2026-85593, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-04

Last updated on: 2026-09-04

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-04
Last Modified
2026-09-04
Generated
2026-09-04
AI Q&A
2026-09-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
phpmyfaq phpmyfaq to 4.1.8 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a stored cross-site scripting (XSS) vulnerability in phpMyFAQ versions before 4.1.8. The issue occurs in the FAQ rendering process where the convertOldInternalLinks() function calls html_entity_decode() on sanitized FAQ content. This reverses the entity-encoding protection applied during sanitization, reactivating attacker-controlled XSS payloads. Authenticated users with FAQ editing privileges can inject malicious JavaScript into FAQ answers.

Detection Guidance

To detect this vulnerability, inspect phpMyFAQ installations for versions 4.0.8 through 4.1.7. Check FaqHelper.php for the convertOldInternalLinks() function and verify if html_entity_decode() is called on sanitized FAQ content. Review FAQ editing privileges for unauthorized users.

Impact Analysis

An attacker could steal session cookies, impersonate users, redirect visitors to malicious sites, or deface FAQ content. All users viewing affected FAQ pages would have their browsers execute the injected JavaScript payloads.

Compliance Impact

This vulnerability allows attackers to inject malicious JavaScript into FAQ content, which executes in users' browsers. This could lead to unauthorized data access, session hijacking, or defacement, potentially violating GDPR (data protection) and HIPAA (health data privacy) by exposing sensitive user information or enabling unauthorized actions.

Mitigation Strategies

Upgrade phpMyFAQ to version 4.1.8 or later immediately. Remove the html_entity_decode() call in FaqHelper::convertOldInternalLinks(). Restrict FAQ editing privileges to trusted users only. Monitor FAQ content for suspicious JavaScript payloads.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-85593. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart