CVE-2023-0787 Cross-site Scripting (XSS) - Generic in thorsten/phpmyfaq

High 8.1 Published Updated

An attacker can inject malicious scripts into the phpMyFAQ web application, potentially stealing user sessions or executing code in victim browsers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-0787?

CVE-2023-0787 is a high-severity cross-site scripting vulnerability in Phpmyfaq Phpmyfaq, published on 12 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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

Weakness: CWE-79

Which versions are affected by CVE-2023-0787?

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

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

Products include Phpmyfaq Phpmyfaq.

How do I fix CVE-2023-0787?

Upgrade thorsten/phpmyfaq to 3.1.11 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-0787 being exploited?

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

All Phpmyfaq Phpmyfaq vulnerabilities

Sources

Also known as GHSA-gxxj-x426-xj2w.

Is CVE-2023-0787 in your software?

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

Check your SBOMs for free