Description
phpMyFAQ 3.2.1 before 4.1.9 and 4.2.0-alpha before 4.2.0-beta contains a stored cross-site scripting vulnerability that allows authenticated content authors to inject JavaScript by embedding iframes with data:text/html sources in FAQ or News content. Attackers can bypass the hostless media-host allowlist in FaqHelper::cleanUpContent(), which is rendered via Twig's raw filter, to run phishing interfaces or top-frame redirects for viewers.
Published: 2026-10-17
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored XSS enabling phishing or redirects
Action: Apply patch
AI Analysis

Impact

The vulnerability allows authenticated content authors to embed malicious iframes that reference data:text/html sources in FAQ or News content. These iframes bypass the hostless media‑host allowlist and are rendered via Twig's raw filter. Because the payload is stored, any visitor who views the affected content will execute the injected JavaScript, allowing attackers to deliver phishing pages or perform top‑frame redirects that undermine user trust. This stored cross‑site scripting flaw is classified as CWE‑79.

Affected Systems

Affected products are phpMyFAQ versions 3.2.1 through 4.1.9 and 4.2.0‑alpha through 4.2.0‑beta. Users must be authenticated as content authors to inject code. The vulnerability is present in these releases and has been fixed starting with 4.1.9 and 4.2.0‑beta.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. The EPSS score is unavailable, so exploitation probability is uncertain. The vulnerability is not listed in CISA’s KEV catalog, suggesting no known public exploitation. Attackers would need sufficient privileges to create or edit FAQ or News content to embed the malicious iframe; once embedded, the attack would affect all site visitors until the content is removed or sanitized.

Generated by OpenCVE AI on October 17, 2026 at 20:53 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade phpMyFAQ to version 4.1.9 or newer, or to 4.2.0‑beta or newer, to eliminate the stored XSS flaw.
  • Review and purge any existing FAQ or News entries that contain iframe tags with data:text/html sources, or overwrite them with safe content.
  • Implement stricter content sanitization by configuring Twig to escape user‑generated content or by disabling the raw filter for FAQ and News fields, limiting the allowed tags to those necessary for legitimate content.

Generated by OpenCVE AI on October 17, 2026 at 20:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Thorsten
Thorsten phpmyfaq
Vendors & Products Thorsten
Thorsten phpmyfaq

Sat, 17 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description phpMyFAQ 3.2.1 before 4.1.9 and 4.2.0-alpha before 4.2.0-beta contains a stored cross-site scripting vulnerability that allows authenticated content authors to inject JavaScript by embedding iframes with data:text/html sources in FAQ or News content. Attackers can bypass the hostless media-host allowlist in FaqHelper::cleanUpContent(), which is rendered via Twig's raw filter, to run phishing interfaces or top-frame redirects for viewers.
Title phpMyFAQ 3.2.1 before 4.1.9 and 4.2.0-alpha before 4.2.0-beta Stored XSS via iframe data: URI
First Time appeared Phpmyfaq
Phpmyfaq phpmyfaq
Weaknesses CWE-79
CPEs cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*
Vendors & Products Phpmyfaq
Phpmyfaq phpmyfaq
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': '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'}


Subscriptions

Phpmyfaq Phpmyfaq
Thorsten Phpmyfaq
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-17T18:46:17.887Z

Reserved: 2026-10-17T12:16:44.849Z

Link: CVE-2026-111894

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-17T19:16:31.017

Modified: 2026-10-17T19:16:31.130

Link: CVE-2026-111894

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T21:15:13Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')