CVE-2026-85593

phpMyFAQ before 4.1.8 Stored XSS via html_entity_decode

Published Sep 4, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

This vulnerability is a stored cross‑site scripting flaw in the function that converts legacy internal links in FAQ content. By calling html_entity_decode on already sanitized data, the protection is reversed, allowing an attacker who can edit a FAQ to inject arbitrary JavaScript. The injected script runs in the browsers of every visitor to the affected FAQ page, which can lead to session hijacking, data theft, or defacement.

Affected Systems

The flaw affects the phpMyFAQ application delivered by the vendor thorsten. Any installation of phpMyFAQ older than version 4.1.8 is susceptible, regardless of other configuration. Administrators should verify that their deployment uses a safe version or apply the appropriate fix.

Risk and Exploitability

The CVSS base score is 5.1, placing the issue in the medium severity range. EPSS data are not available and the issue is not listed in the CISA KEV catalog, which suggests a lower exploitation probability overall. Attackers need authenticated edit privileges to inject the payload; thus the vulnerability cannot be exploited by unauthenticated users over the network, but once a user with sufficient rights has created malicious content, all other users who view the page are impacted.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade phpMyFAQ to version 4.1.8 or later, which removes the unsafe html_entity_decode usage.
  • If an upgrade is not immediately possible, disable or remove the FaqHelper::convertOldInternalLinks() functionality or prevent edited content from passing through html_entity_decode.
  • Restrict FAQ editing privileges to trusted users only, and monitor FAQ content for malicious JavaScript injections.

Generated by OpenCVE AI on September 4, 2026 at 12:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title phpMyFAQ before 4.1.8 Stored XSS via html_entity_decode
First Time appeared Phpmyfaq
Phpmyfaq phpmyfaq
Weaknesses CWE-79
CPEs cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*
Vendors & Products Phpmyfaq
Phpmyfaq phpmyfaq
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': '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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 14, 2026, 1:50 PM
Reserved
Sep 4, 2026, 10:59 AM
Status
Deferred
Published
Sep 4, 2026, 12:17 PM
Modified
Sep 14, 2026, 2:17 PM