CVE-2026-46367 phpMyFAQ - Stored XSS via Utils::parseUrl() in Comment Rendering

High 8.3 Published Updated

Authenticated users can inject JavaScript via malformed URLs in comments, leading to admin session theft and application takeover.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-46367?

CVE-2026-46367 is a high-severity cross-site scripting vulnerability in thorsten phpmyfaq, published on 15 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

phpMyFAQ before 4.1.2 contains a stored cross-site scripting vulnerability in Utils::parseUrl() that allows authenticated users to inject JavaScript via malformed URLs in comments. Attackers can craft URLs with unescaped quotes to inject event handlers, stealing admin session cookies and achieving full application takeover when visitors view affected FAQ pages.

Weakness: CWE-79

Which versions are affected by CVE-2026-46367?

4 open source packages ship an affected version, including thorsten/phpmyfaq and phpmyfaq/phpmyfaq.

PackageAffectedFixed in
thorsten/phpmyfaq PackagistFrom 4.1.14.1.2
thorsten/phpmyfaq PackagistFrom 4.1.14.1.2
phpmyfaq/phpmyfaq PackagistFrom 4.1.14.1.2
phpmyfaq/phpmyfaq PackagistFrom 4.1.14.1.2

How do I fix CVE-2026-46367?

Upgrade thorsten/phpmyfaq to 4.1.2 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-46367 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46367 exists.

Sources

Also known as GHSA-9525-27vj-c8r8.

Is CVE-2026-46367 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free