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
Oracle JRE CVE-2022-21299 Vulnerability (CVE-2022-21299)
WordPress Plugin Email Encoder-Protect Email Addresses Cross-Site Scripting (1.4.1)
WordPress Plugin WordPress Backup and Migrate-Backup Guard Arbitrary File Upload (1.5.9)
WordPress Plugin YouTube Gallery-Best YouTube Video Gallery Cross-Site Scripting (3.2.1)