CVE-2026-145045: phpMyFAQ before 4.2.0-RC.2 Stored XSS via SvgSanitizer Non-ASCII Namespace Prefix

Published Dec 4, 2026
·
Updated

phpMyFAQ before 4.2.0-RC.2 contains a stored cross-site scripting vulnerability that allows users with FAQEDIT 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.

Affected Software

1 affected component
PhpMyFaq phpmyfaq<4.2.0-RC.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.2.0-RC.2

Event History

Dec 4, 2026
CVE Published
via MITRE·04:10 PM
Data Sourced
via MITRE·04:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:19 PM
DescriptionSeverityWeakness
Event
via NVD·05:19 PM

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs an account with FAQ_EDIT rights and must be able to use the admin image upload endpoint. Exploitation also requires a victim to view the uploaded SVG.

2

Are administrators at risk?

Yes. Script embedded in a malicious uploaded SVG can execute in the session of a viewer, including an administrator, when the SVG is served without a sandbox CSP.

3

What configurations are affected?

The issue affects phpMyFAQ versions before 4.2.0-RC.2. The described attack relies on SVG uploads being served without a sandbox Content Security Policy.

4

What can be done before updating?

Restrict FAQ_EDIT permissions and access to the admin image upload endpoint to trusted users. Preventing untrusted SVG uploads or serving uploaded SVG content with a sandbox CSP can reduce exposure.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203