On testing the popular WordPress testimonials plugin, Strong Testimonials, I found multiple stored XSS vulnerabilities in the plugin. All WordPress websites using Strong Testimonials version 2.40.0 and below are affected.
CVE ID: CVE-2020-8549
CWE ID: CWE-79
Strong Testimonials is a popular and easily customizable WordPress testimonial plugin with over 90,000 active installations. The stored XSS vulnerabilities found in the plugin can be exploited by attackers to perform malicious actions such as stealing the victim’s session cookies or login credentials, performing arbitrary actions such as logging on the victim’s behalf, introducing their keystrokes, infecting your website with Japanese keyword hack, and more.
In the client details section which is seen when adding or editing a testimonial, the custom[client_name] and custom[company_name] parameters were found to be vulnerable to stored cross-site scripting.
When the testimonial is added to a page on the site, the XSS payload passed in both of the above mentioned vulnerable parameters get executed.
The payload in custom[client_name] also gets executed in the All Testimonials (/wp-admin/edit.php?post_type=wpm-testimonial) page.
Vulnerability reported to the Strong Testimonials team on January 23, 2020.
Strong Testimonials version 2.40.1 containing the fix to the vulnerability was released on January 25, 2020.
It is highly recommended to update the plugin to the latest version.
For best security practices, you can follow the below guides: