CVE-2026-46363
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 FAQ creation and update endpoints that bypass sanitization through encode-decode cycles. The vulnerability allows authenticated attackers with FAQ_ADD permission to inject malicious script tags via question or answer parameters, which execute in every visitor's browser when FAQ content is rendered with the raw Twig filter.
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 FAQ creation/update endpoints where authenticated users with FAQ_ADD permission can inject malicious scripts via question or answer parameters. The attack succeeds because sanitization is bypassed through encode-decode cycles, and the payload executes when content is rendered using the raw Twig filter.
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
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/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.
-
Confirm phpMyFAQ installation and versionLocate the phpMyFAQ installation directory and check the version file (commonly version.php or similar file containing the version string). Compare the installed version number against 4.1.2.Affected if The installed version is below 4.1.2 (e.g., 4.1.1, 4.0.x, 3.x).
-
Verify FAQ creation endpoint existsCheck if the FAQ creation/update endpoints are accessible in the web application. Look for routes or pages handling FAQ add/edit functionality, typically found in admin or user-facing FAQ management sections.Affected if The FAQ creation or update functionality is present and enabled in the application.
-
Confirm authentication and FAQ_ADD permissionReview user role or permission configuration to determine if any authenticated users have FAQ_ADD permission. Check the user group/permission settings in the phpMyFAQ admin panel or database.Affected if Authenticated users are able to be granted or already have FAQ_ADD permission capability.
-
Inspect Twig template for raw filter usageExamine the Twig template files that render FAQ question and answer content. Look for usage of the 'raw' filter (e.g., {{ content|raw }}) applied to user-submitted FAQ fields.Affected if The raw Twig filter is applied to question or answer content that originates from user input.
A user is affected if phpMyFAQ version is below 4.1.2, FAQ creation/update endpoints are enabled, authenticated users can access them with FAQ_ADD permission, and the raw Twig filter is used to render user-submitted question or answer content.
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; alternatively, remove or replace the raw Twig filter usage on user-submitted content and implement proper output encoding to prevent encode-decode bypass.
phpMyFAQ 4.1.2 or later
- 1. Backup your current phpMyFAQ installation and database before proceeding with any upgrade.
- 2. Download phpMyFAQ version 4.1.2 or later from the official repository (github.com/thorsten/phpMyFAQ).
- 3. Replace the existing phpMyFAQ files with the new version, preserving your configuration and database connection settings.
- 4. Verify the upgrade was successful by logging into the admin panel.
- 5. Test FAQ creation and update functionality to confirm the XSS vulnerability is remediated.
- 6. Ensure that any custom Twig templates using the raw filter are reviewed for proper sanitization before use.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation5.0 h
- Testing3.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,696.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-46363 — 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-46363 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