Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phpMyFAQ
  4. ›
  5. CVE-2026-46367

CVE-2026-46367: phpMyFAQ: Stored XSS via Utils::parseUrl() in comment rendering

May 15, 2026 (updated May 21, 2026)

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

References

  • github.com/advisories/GHSA-w42g-jj8w-fj77
  • github.com/thorsten/phpMyFAQ/security/advisories/GHSA-9525-27vj-c8r8
  • nvd.nist.gov/vuln/detail/CVE-2026-46367
  • www.vulncheck.com/advisories/phpmyfaq-stored-xss-via-utils-parseurl-in-comment-rendering

Code Behaviors & Features

Detect and mitigate CVE-2026-46367 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.2

Fixed versions

  • 4.1.2

Solution

Upgrade to version 4.1.2 or above.

Impact 7.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/phpMyFAQ/CVE-2026-46367.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 22 May 2026 12:19:09 +0000.