← Advisories

WordPress Plugin OneSignal 1.17.5 Persistent Cross-Site Scripting

Medium
Advisory ID
ZSL-2019-5530
Release Date
18 July 2019
Vendor
Affected Version
1.17.5
Tested On
WordPress 5.2.2, Apache/2.4.39, PHP/7.1.30
Summary

OneSignal is a high volume and reliable push notification service for websites and mobile applications. We support all major native and mobile platforms by providing dedicated SDKs for each platform, a RESTful server API, and an online dashboard for marketers to design and send push notifications.

Description

The application suffers from an authenticated stored XSS via POST request. The issue is triggered when input passed via the POST parameter 'subdomain' is not properly sanitized before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

Proof of Concept
Disclosure Timeline
N/A
Credits
Vulnerability discovered by Gjoko Krstic
References
Changelog
18.07.2019Initial release
19.07.2019Added reference [3] and [4]
24.07.2019Added reference [5]
26.04.2020Added reference [6] and [7]
28.09.2021Added reference [8]
16.12.2022Added reference [9] and [10]