CVE-2024-27300 phpMyFAQ Stored XSS at user email
MediumCVSS 5.4
EPSS 0.72%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- PHPMySQL
Description
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. The email field in phpMyFAQ's user control panel page is vulnerable to stored XSS attacks due to the inadequacy of PHP's FILTER_VALIDATE_EMAIL function, which only validates the email format, not its content. This vulnerability enables an attacker to execute arbitrary client-side JavaScript within the context of another user's phpMyFAQ session. This vulnerability is fixed in 3.2.6.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| phpmyfaq/phpmyfaq(Packagist) | = 3.2.5; >= 3.2.5, < 3.2.6 | 3.2.6 | Fixed |
| thorsten phpMyFAQ | < 3.2.6; = 3.2.5 | 3.2.6 | Fixed |
| phpmyfaq/phpmyfaq | = 3.2.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| phpmyfaq/phpmyfaq(Packagist) | >= 3.2.5, < 3.2.6 | 3.2.6 |
| phpmyfaq/phpmyfaq(Packagist) | = 3.2.5 | No fix listed |
| thorsten phpMyFAQ | = 3.2.5 | No fix listed |
| thorsten phpMyFAQ | < 3.2.6 | 3.2.6 |
| phpmyfaq/phpmyfaq | = 3.2.5 | No fix listed |
References
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-q7g6-xfh2-vhpx exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/thorsten/phpMyFAQ/commit/09336b0ff0e0a04aa0c97c5975651af4769d2459 patch
- https://github.com/thorsten/phpMyFAQ/commit/de90315c9bd4ead5fe6ba5586f6b016843aa8209 patch
- github.com product
- github.com