CVE-2026-46367
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedphpMyFAQ before 4.1.2 contains a stored cross-site scripting vulnerability in Utils::parseUrl() that allows authenticated users to inject JavaScript via malformed URLs in comments. Attackers can craft URLs with unescaped quotes to inject event handlers, stealing admin session cookies and achieving full application takeover when visitors view affected FAQ pages.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidencephpMyFAQ before 4.1.2 has a stored XSS vulnerability in the Utils::parseUrl() function where URLs in comments are not properly escaped, allowing injection of event handlers via unescaped quotes. Authenticated users can craft malicious URLs that execute JavaScript when visitors view affected FAQ pages, enabling session cookie theft and full application takeover.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify phpMyFAQ versionLocate the version file or check the footer/admin panel for the installed phpMyFAQ version numberAffected if The installed version is below 4.1.2 (e.g., 4.1.1, 4.0.x, 3.x)
-
Confirm comments feature is enabledCheck the phpMyFAQ configuration file (usually inc/PMF/Configuration.php or config/database.php) for the 'comments.enable' setting or review the admin settings pageAffected if The comments feature is enabled, allowing users to submit comments with URLs
-
Verify if comment submission requires authenticationReview the user registration and comment posting settings in the admin panel under 'Configuration' -> 'Security' or directly in the database table for settingsAffected if Authenticated users (any registered user) can post comments, as the flaw requires an authenticated user to inject the malicious URL
-
Inspect the Utils::parseUrl() function for escapingLocate the file containing Utils::parseUrl() (typically in src/PMF/Utils.php or similar) and check if the function uses htmlspecialchars() or equivalent escaping on URL parameters before outputAffected if The function does NOT escape quotes or HTML entities in URLs before they are rendered in comments, leaving injection points for event handlers like onclick or onerror
You are affected if your phpMyFAQ version is below 4.1.2 AND the comments feature is enabled AND users can submit comments with URLs that are rendered without proper HTML escaping in the Utils::parseUrl() function.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to phpMyFAQ 4.1.2 or later which contains the fix for proper quote escaping in Utils::parseUrl(). Alternatively, implement input validation to sanitize URLs in comments before storage.
phpMyFAQ 4.1.2
- Backup the existing phpMyFAQ database and all files
- Download phpMyFAQ version 4.1.2 from the official repository (github.com/phpmyfaq/phpmyfaq)
- Replace all existing phpMyFAQ files with the new version 4.1.2 files
- Run any database migration scripts included in the upgrade
- Verify the installation by logging in and checking the admin dashboard
- Clear all server-side caches to ensure the vulnerable code is not cached
- Test that legitimate URLs in comments are properly escaped after the upgrade
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,328.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-46367 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-46367 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data