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
Drupal Core 9.3.x Multiple Vulnerabilities (9.3.0 - 9.3.7)
WordPress Plugin HubSpot All-In-One Marketing-Forms, Popups, Live Chat Cross-Site Scripting (7.5.5)
Moodle Cross-Site Request Forgery (CSRF) Vulnerability (CVE-2014-7838)
Coppermine Permissions, Privileges, and Access Controls Vulnerability (CVE-2008-7186)