VDB
Sign up
MEDIUM5.2

GHSA-v6g2-jwrm-h5r5

phpMyFAQ Cross-site Scripting

Quick fix

GHSA-v6g2-jwrm-h5r5 — thorsten/phpmyfaq: upgrade to the fixed version with the command below.

composer require thorsten/phpmyfaq:^3.2.0-beta.2

Details

phpMyFAQ prior to 3.2.0-beta.2 contains a cross-site scripting vulnerability. When an administrator restores a backup from a file, it's possible to trigger an error with a specially crafted file that can be displayed on the web page. Since the error message contains the invalid part of the file, any JavaScript code in the file is executed.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/thorsten/phpmyfaq
Introduced in: 0Fixed in: 3.2.0-beta.2
Fixcomposer require thorsten/phpmyfaq:^3.2.0-beta.2

References