Advisory record · GHSA-f5p7-2c9q-8896

phpMyFAQ has Stored XSS in FAQ Question/Answer via Encode-Decode Bypass of removeAttributes() Sanitization

CVSS 5.1 MediumEPSS 0.0019 · 8th percentile

Published by the GitHub Advisory Database at 6 May 2026, 20:18 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
phpmyfaq/phpmyfaqPackagist<4.1.24.1.2
thorsten/phpmyfaqPackagist<4.1.24.1.2
Identifiers
GHSA-f5p7-2c9q-8896 · CVE-2026-46363 · PKSA-6zc3-3brt-ftsh · PKSA-jr2y-dd2x-qtks
Weakness (CWE)
CWE-79
Published
6 May 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The phpMyFAQ package (phpmyfaq/phpmyfaq and thorsten/phpmyfaq on Packagist) is affected in versions before 4.1.2, and 4.1.2 is the fixed version. The FAQ create and update paths decode HTML entities after encoding, and the attribute-only sanitizer leaves script, iframe, object and embed tags intact, so stored content can run JavaScript when the FAQ page or search results are rendered. An attacker needs an account with FAQ creation permission and a valid session token; visitors who then view the FAQ can have their session cookies stolen. Upgrade to phpMyFAQ 4.1.2 or later.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.1 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0019, the 8th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 15 May 2026, 18:36 UTC Confirmed by the CVE List
  2. 31 Oct 2026, 13:59 UTC First seen by agentprime
  3. 31 Oct 2026, 13:59 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.