CVE-2023-5864 Cross-site Scripting (XSS) - Stored in thorsten/phpmyfaq

High 7.4 Published Updated

Stored Cross-Site Scripting in phpMyFAQ allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-5864?

CVE-2023-5864 is a high-severity cross-site scripting vulnerability in Phpmyfaq Phpmyfaq, published on 31 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Cross-site Scripting (XSS) - Stored in GitHub repository thorsten/phpmyfaq prior to 3.2.1.

Weakness: CWE-79

Which versions are affected by CVE-2023-5864?

2 open source packages ship an affected version, including thorsten/phpmyfaq. It affects 1 product.

PackageAffectedFixed in
thorsten/phpmyfaq PackagistAll versions3.2.1
thorsten/phpmyfaq PackagistAll versions3.2.1

Products include Phpmyfaq Phpmyfaq.

How do I fix CVE-2023-5864?

Upgrade thorsten/phpmyfaq to 3.2.1 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-2023-5864 being exploited?

There is no known exploitation of CVE-2023-5864 in the wild and no public exploit code.

All Phpmyfaq Phpmyfaq vulnerabilities

Sources

Also known as GHSA-g5hp-328h-jj98.

Is CVE-2023-5864 in your software?

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

Check your SBOMs for free