Published CVE
CVE-2026-111894 Stored Cross-Site Scripting Through Inadequate HTML Sanitization
- Product
- phpMyFAQ
- Affected releases
- 3.2.1 up to 4.1.9, and 4.2.0-alpha up to 4.2.0-beta (upper bounds excluded).
- Fixed releases
- 4.1.9 and 4.2.0-beta
- GitHub advisory
- CVSS 3.1 · 5.4 Medium
- CVE record
- CVSS 4.0 · 5.1 Medium / CVSS 3.1 · 5.4 Medium
- Reporter
- NIRTEM (nirtem)
Overview
NIRTEM identified a stored cross-site scripting vulnerability in phpMyFAQ associated with insufficient HTML content sanitization.
The vulnerability affected the handling and rendering of content submitted through supported application features.
Technical background
Web applications frequently accept user-generated content containing text or limited HTML formatting.
Such input must be carefully validated and sanitized to prevent the browser from interpreting untrusted content as executable code.
Root cause
The application’s sanitization rules permitted certain embedded HTML structures and data references that could introduce executable browser content.
The sanitized output was subsequently rendered in a context that could preserve the unsafe elements.
Security impact
Under suitable conditions, an authenticated content author could introduce malicious browser content that would be presented to users viewing the affected pages.
Potential consequences include deceptive interfaces, malicious redirects, and other browser-side security risks.
Research methodology
Trace authored content through sanitization, storage and browser rendering. Review the policy for embedded content at each boundary.
Research capabilities
HTML sanitization review, content rendering and browser security.
Remediation principles
Apply strict HTML sanitization, allowlist trusted content types and embedding sources, enforce suitable Content Security Policy controls, and use safe output rendering.
Research credit
The official phpMyFAQ security advisory acknowledges nirtem as the reporter.