CVE-2026-5108: Super Progressive Web Apps <= 2.2.43 - Authenticated (Administrator+) Stored Cross-Site Scripting via Offline Message Setting
The Super Progressive Web Apps plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the superpwasettings[offlinemessagetxt] setting in all versions up to, and including, 2.2.43. This is due to insufficient input sanitization and output escaping. The offline message value is stored without sanitization, passed to the frontend via wplocalizescript() without escaping, and rendered using innerHTML in the JavaScript snackbar component. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user triggers the offline snackbar.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
WordPress Super Progressive Web Apps pluginto a version that resolves this vulnerability.Fixed in 2.2.43 - Configuration
Update the plugin so that `superpwa_settings[offline_message_txt]` is sanitized on input and properly escaped on output; do not render the value via `innerHTML` in the JavaScript snackbar component.
WordPress Super Progressive Web Apps plugin superpwa_settings[offline_message_txt] = Sanitize/escape the offline message before saving and escape output when rendering (avoid rendering with innerHTML)