CVE-2026-111894

phpMyFAQ 3.2.1 before 4.1.9 and 4.2.0-alpha before 4.2.0-beta Stored XSS via iframe data: URI

Published Oct 17, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Thorsten
Thorsten phpmyfaq
Vendors & Products Thorsten
Thorsten phpmyfaq
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 21, 2026, 9:36 PM
Reserved
Oct 17, 2026, 12:16 PM
Status
Deferred
Published
Oct 17, 2026, 7:16 PM
Modified
Oct 21, 2026, 10:16 PM