CVE-2023-1878: thorsten/phpmyfaq vulnerable to stored cross-site scripting (XSS) via adminlog
8.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.21348%
CWE
Published
4/5/2023
Updated
4/6/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| thorsten/phpmyfaq | composer | < 3.1.12 | 3.1.12 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit diff explicitly shows that the vulnerability stemmed from unescaped output of $loggingValue['text'] in stat.adminlog.php. The patch added Strings::htmlentities() to sanitize this user-controlled input. Since the vulnerable code was inline in the admin log display logic (not within a named function), the entire code block responsible for rendering the log text is identified as the vulnerable component. The high confidence comes from the direct correlation between the missing sanitization in the diff and the XSS vulnerability description.