CVE-2026-130365

phpMyFAQ 4.2.0-alpha before 4.2.0-RC.2 Stored XSS via SvgSanitizer Namespace Bypass

Published Nov 17, 2026 CVSS 4.0 · 2.1 Low EPSS n/a KEV · Not listed
Description
phpMyFAQ from 4.2.0-alpha before 4.2.0-RC.2 contains a stored cross-site scripting vulnerability that allows FAQ_EDIT users to bypass SvgSanitizer using namespace-prefixed elements like <x:script>. Attackers can upload malicious SVGs through the admin image upload so script runs in the site origin on IIS, hijacking sessions of users like super-admins.

Analysis

AI-generated

Technical impact

A stored cross‑site scripting flaw exists in phpMyFAQ versions 4.2.0‑alpha through 4.2.0‑RC.1. The flaw is caused by the SvgSanitizer component failing to reject elements that use a namespace prefix, such as <x:script>. When an attacker uploads a crafted SVG file via the admin image upload interface, the malicious script executes in the context of the site origin. This enables an attacker to hijack browser sessions of privileged users, including super‑admin accounts, potentially compromising the entire CMS instance. The weakness is a classic input validation error (CWE‑79).

Affected Systems

phpMyFAQ 4.2.0‑alpha to 4.2.0‑RC.1 hosted on servers running IIS. The vulnerability is triggered through features available to users with FAQ_EDIT permissions.

Risk and Exploitability

The CVSS score of 2.1 indicates low severity, yet the exploit can be achieved by uploading a malicious SVG file, a relatively simple action for an authenticated FAQ_EDIT user. The EPSS score is not provided, and the vulnerability is not listed in CISA’s KEV catalog. Nonetheless, because the flaw allows authenticated attackers to run scripts in a privileged user’s session, it poses a significant risk to confidentiality and integrity and should be addressed promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade phpMyFAQ to version 4.2.0‑RC.2 or later where the SvgSanitizer limitation is fixed.
  • Restrict SVG upload capabilities for users with FAQ_EDIT permissions until the upgrade is applied.
  • Audit and purge any previously uploaded SVG files that may contain namespace‑prefixed script elements to remove potential XSS payloads.

Generated by OpenCVE AI on November 17, 2026 at 03:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Thorsten
Thorsten phpmyfaq
Vendors & Products Thorsten
Thorsten phpmyfaq
Type Values Removed Values Added
Description phpMyFAQ from 4.2.0-alpha before 4.2.0-RC.2 contains a stored cross-site scripting vulnerability that allows FAQ_EDIT users to bypass SvgSanitizer using namespace-prefixed elements like <x:script>. Attackers can upload malicious SVGs through the admin image upload so script runs in the site origin on IIS, hijacking sessions of users like super-admins.
Title phpMyFAQ 4.2.0-alpha before 4.2.0-RC.2 Stored XSS via SvgSanitizer Namespace 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': 4.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/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
Nov 17, 2026, 1:40 AM
Reserved
Nov 17, 2026, 1:03 AM
Status
Deferred
Published
Nov 17, 2026, 2:17 AM
Modified
Nov 17, 2026, 2:17 AM