Affected versions
Composerphpmyfaq/phpmyfaq
- Affected versions
- = 3.2.5
- Fixed version
- 3.2.6
Exploitation
Description
Summary
By manipulating the news parameter in a POST request, an attacker can inject malicious JavaScript code. Upon browsing to the compromised news page, the XSS payload triggers.
PoC
Edit a FAQ news, intercept the request and modify the
newsparameter in the POST body with the following payload:%3cscript%3ealert('xssContent')%3c%2fscript%3eBrowse to the particular news page and the XSS should pop up. image
Impact
This allows an attacker to execute arbitrary client side JavaScript within the context of another user's phpMyFAQ session
Links
Credits
- kevinnivekkevin

