Description
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.
Published: 2026-10-17
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Apply Patch
AI Analysis

Impact

The vulnerability is a stored cross‑site scripting flaw located in the SvgSanitizer component of phpMyFAQ 4.2.0‑alpha through just before 4.2.0‑beta. Attackers who can upload images with FAQ_EDIT permission can embed a custom XML DTD entity inside an SVG file. When the entity is expanded it creates JavaScript in an <a href> element. An administrator later viewing or previewing the malicious SVG will trigger the script, allowing the attacker to hijack the admin session or execute arbitrary scripts in the privileged context.

Affected Systems

The affected product is the phpMyFAQ web‑based FAQ software (vendor thorsten). Versions 4.2.0‑alpha up to, but not including, 4.2.0‑beta are vulnerable. No other versions or operating system combinations are listed, so the impact is confined to installations using these specific release numbers.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in CISA's KEV catalog. Based on the description, it is inferred that the attack vector requires a user with FAQ_EDIT permission to upload a malicious SVG, which then triggers the flaw when an administrator later opens or previews the file. Because the flaw permits arbitrary script execution in the context of a privileged user, the potential impact for a targeted attacker is significant, despite the moderate CVSS. No public exploitation reports are available at this time, but the risk to high‑value targets remains.

Generated by OpenCVE AI on October 17, 2026 at 21:36 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to phpMyFAQ 4.2.0‑beta or later, where the SvgSanitizer patch is in place.
  • If an upgrade is not immediately feasible, disable or restrict SVG upload and preview functionality for users with FAQ_EDIT permissions to prevent the injection of malicious content.
  • Apply input filtering or a web application firewall rule that rejects XML DTD entity declarations in uploaded SVG files, blocking the bypass technique.

Generated by OpenCVE AI on October 17, 2026 at 21:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description 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.
Title phpMyFAQ 4.2.0-alpha before 4.2.0-beta Stored XSS via SVG DTD Entity Bypass
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'}


Subscriptions

Phpmyfaq Phpmyfaq
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-17T18:46:23.442Z

Reserved: 2026-10-17T12:18:07.314Z

Link: CVE-2026-111903

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-17T19:16:32.253

Modified: 2026-10-17T19:16:32.367

Link: CVE-2026-111903

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T21:45:14Z

Weaknesses
  • CWE-79

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