CVE-2026-145045
Deferred Deferred - Pending Action

Stored XSS in phpMyFAQ via SVG Upload Bypass

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

Publication date: 2026-12-04

Last updated on: 2026-12-04

Assigner: VulnCheck

Description

phpMyFAQ before 4.2.0-RC.2 contains a stored cross-site scripting vulnerability that allows users with FAQ_EDIT rights to bypass SvgSanitizer using non-ASCII namespace prefixes. Attackers can upload SVG files containing prefixed script elements through the admin image upload endpoint, executing script in victims' sessions, including administrators, when served without a sandbox CSP.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
phpmyfaq phpmyfaq to 4.2.0-RC.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-176 The product does not properly handle when an input contains Unicode encoding.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

phpMyFAQ before 4.2.0-RC.2 has a stored cross-site scripting (XSS) vulnerability. Users with FAQ_EDIT rights can bypass SvgSanitizer by using non-ASCII namespace prefixes in SVG files. This allows attackers to upload malicious SVG files via the admin image upload endpoint, which execute scripts in victims' sessions, including administrators, when served without a sandbox CSP.

Detection Guidance

Detecting this vulnerability requires checking for SVG files uploaded via the admin image upload endpoint in phpMyFAQ versions before 4.2.0-RC.2. Inspect uploaded SVG files for non-ASCII namespace prefixes or script elements. Review server logs for suspicious file uploads to /admin/image-upload.php.

Impact Analysis

An attacker could exploit this to steal session cookies, perform actions on behalf of users, or deface the phpMyFAQ site. Users with FAQ_EDIT rights could upload malicious SVG files, compromising other users' sessions, including administrators. This could lead to unauthorized access or data theft.

Compliance Impact

This vulnerability could lead to unauthorized data access or disclosure, violating GDPR's data protection requirements. For HIPAA, it may compromise protected health information integrity and confidentiality. Organizations using affected phpMyFAQ versions risk non-compliance with these regulations.

Mitigation Strategies

Upgrade phpMyFAQ to version 4.2.0-RC.2 or later immediately. Remove any untrusted SVG files from the server. Implement strict CSP headers to sandbox SVG execution. Restrict FAQ_EDIT user permissions to minimize attack surface.

Chat Assistant

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

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...