Description
WordPress Plugin OneSignal-Web Push Notifications is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. WordPress Plugin OneSignal-Web Push Notifications version 1.17.7 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 1.17.8 or latest
References
https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5530.php
https://www.exploit-db.com/exploits/47136
https://plugins.svn.wordpress.org/onesignal-free-web-push-notifications/trunk/readme.txt