-
CVSS Score
-The vulnerability stems from improper output encoding of the 'searchTerm' parameter in index.php. The patch adds ENT_QUOTES to the htmlspecialchars call, indicating the original implementation only escaped a subset of special characters (not quotes). Attackers could craft search terms with quotes to inject arbitrary attributes/scripts. The search.php and Strings.php changes appear to be collateral fixes (parameter cleanup and encoding adjustments), but the root XSS vector was in index.php's htmlspecialchars usage.
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| thorsten/phpmyfaq | composer | < 3.1.8 | 3.1.8 |