Stored cross-site scripting in WP Statistics - CVE-2019-12566
Published: June 24, 2019 / Updated: June 25, 2019
WP Statistics
Detailed vulnerability description
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data within the Page's title. A remote authenticated attacker with Editor role can create a page with title that contains malicious javascript code and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
How to mitigate CVE-2019-12566
Sources
- https://github.com/wp-statistics/wp-statistics/commit/aec4359975344f75385ae1ec257575d8131d6ec2
- https://github.com/wp-statistics/wp-statistics/commit/cda6dcaf123f4df1e01fbc819f47a98ca5c8ac0a
- https://github.com/wp-statistics/wp-statistics/issues/271
- https://wordpress.org/plugins/wp-statistics/#developers