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
Related Vulnerabilities
WordPress Plugin WP Maintenance Mode & Site Under Construction Cross-Site Request Forgery (1.8.2)
Dolibarr Inadequate Encryption Strength Vulnerability (CVE-2017-7888)
Ruby on Rails Permissions, Privileges, and Access Controls Vulnerability (CVE-2013-0155)
WordPress Plugin RoyalSlider Cross-Site Scripting (3.2.4)
WordPress Plugin WP BaiDu Submit Cross-Site Scripting (1.2.1)