Improper Encoding or Escaping of Output Affecting thorsten/phpmyfaq package, versions >=4.1.1, <4.1.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Encoding or Escaping of Output vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-THORSTENPHPMYFAQ-16624459
  • published10 May 2026
  • disclosed6 May 2026
  • creditericliu-12

Introduced: 6 May 2026

New CVE NOT AVAILABLE CWE-116  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade thorsten/phpmyfaq to version 4.1.2 or higher.

Overview

thorsten/phpmyfaq is a FAQ system for PHP and MySQL, PostgreSQL and other databases

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output in the Utils::parseUrl function during comment rendering. An attacker can execute arbitrary JavaScript in the context of other users by submitting specially crafted comment text containing malicious URLs. This can lead to session cookie theft and full account takeover when an affected page is viewed by other users, including administrators. This is only exploitable if the main.enableCommentEditor configuration is enabled.

CVSS Base Scores

version 4.0
version 3.1