Read the docs

Stored cross-site scripting in phpMyFAQ FAQ comments

Priority LOW 38CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

phpMyFAQ before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 contains a stored cross-site scripting flaw (CWE-79) in FAQ comments. When the comment editor is enabled, the parseUrl function in the Utils class strips the https scheme from sanitized links, so a registered user can post a javascript: link that runs script on the shared admin origin when clicked.

Written with Claude Haiku 5.5 from the sources below · 2026-11-17

Description from the CNA

phpMyFAQ before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 contains a stored cross-site scripting vulnerability that allows registered users to inject javascript: links via FAQ comments. When the comment editor is enabled, Utils::parseUrl() strips https:// from sanitized hrefs, turning an allowed https://javascript:443/ link into executable script that runs on the shared admin origin when clicked.

Why it matters now

Fix Fixed phpMyFAQ (thorsten): 4.1.12, 4.2.0-RC.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
thorstenphpMyFAQbefore 4.1.12; 4.2.0-alpha to before 4.2.0-RC.24.1.12, 4.2.0-RC.2Patch availableCNA
  • phpMyFAQ Vendorthorsten Affected before 4.1.12; 4.2.0-alpha to before 4.2.0-RC.2 Fixed in 4.1.12, 4.2.0-RC.2 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*——thorsten
  • cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:* Versions — — ·thorsten

Remediation

Upgrade phpMyFAQ to version 4.1.12 or 4.2.0-RC.2.

Written with Claude Haiku 5.5 from the sources below · 2026-11-17

  • Fix · CNA phpMyFAQ (thorsten) Fixed in 4.1.12, 4.2.0-RC.2

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    thorsten phpMyFAQ 4.1.12, 4.2.0-RC.2

    16 records Highest priority Priority MEDIUM 8 MEDIUM, 8 LOW

    Other records, highest priority first

    • TI-2026-92399 Authentication bypass in phpMyFAQ web installer allows unauthenticated reinstallPriority MEDIUM 55
    • TI-2026-92397 Authorization bypass in phpMyFAQ lets attackers overwrite passkeysPriority MEDIUM 55
    • TI-2026-92390 Account enumeration via WebAuthn prepare in phpMyFAQPriority MEDIUM 46

Timeline

  1. 2026-11-17 Threatist record created from CVE-2026-130341
  2. 2026-11-17 Alias added: GHSA-56cq-9h4v-c7jp

References

  • TI-2023-00296 Improper Authentication in thorsten/phpmyfaq CVSS 3.1CRITICAL 9.8
  • TI-2026-76118 Authentication bypass in phpMyFAQ via WebAuthn credential injection CVSS 4.0CRITICAL 9.3
  • TI-2026-32868 phpMyFAQ - Unauthenticated Two-Factor Authentication Brute-Force via /admin/check Endpoint CVSS 4.0CRITICAL 9.3
  • TI-2026-76108 Unauthenticated denial of service in phpMyFAQ API pagination CVSS 4.0HIGH 8.7
  • TI-2026-53313 phpMyFAQ 3.1.0 through 4.1.6 Authentication Bypass via LDAP CVSS 4.0HIGH 8.8
  • TI-2026-34083 phpMyFAQ - Unauthenticated Information Disclosure via getIdFromSolutionId Permission Bypass CVSS 4.0HIGH 8.7
See all 226 →

Sources