cvelo
P3 · MediumCVSS 5.4

phpMyFAQ before 4.2.0-RC.2 Stored XSS via SvgSanitizer Non-ASCII Namespace Prefix

  • CVE-2026-145045
  • EUVD-2026-144329

Summary

phpMyFAQ versions before 4.2.0-RC.2 contain a stored cross-site scripting vulnerability in the SvgSanitizer component. Users with FAQ_EDIT rights can bypass the sanitizer by using non-ASCII namespace prefixes on SVG elements. Malicious SVG files containing prefixed script elements can be uploaded through the admin image upload endpoint. When these files are served without a sandbox Content Security Policy, the script executes in the sessions of victims, including administrators. The CVSS score is 5.4. The record does not list this issue as known exploited in the CISA catalog.

AI summary · verify against the vendor advisory

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.

Text from the CVE.org record.

Recommendation

  • thorsten phpMyFAQ

    • If you run a version before 4.2.0-RC.2update to 4.2.0-RC.2 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • thorsten phpMyFAQ

    Affected versionsFixed in
    before 4.2.0-RC.24.2.0-RC.2

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.