# Super Progressive Web Apps <= 2.2.48.1 - Authenticated (Administrator+) Stored Cross-Site Scripting via Pre-Caching URLs Setting

- **ID:** WPSEC-2026-1361
- **Plugin:** Super Progressive Web Apps (`super-progressive-web-apps`), https://wordpress.org/plugins/super-progressive-web-apps/
- **Affected versions:** from 2.1.17 before 2.2.49
- **Fixed in:** 2.2.49 (Update to 2.2.49 or later.)
- **Severity:** Medium 4.4 (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-10-21)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/super-progressive-web-apps
- **Fix released:** 2026-10-19
- **Published:** 2026-10-21
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1361/

## Description

The Super Progressive Web Apps plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Caching Strategies add-on's manual pre-caching URLs setting in all versions up to, and including, 2.2.48.1, due to insufficient input sanitization and output escaping. The URLs were saved without sanitization and placed directly inside single-quoted JavaScript strings in the generated service worker, so a quote character ends the string. This makes it possible for authenticated attackers with administrator-level access to inject arbitrary JavaScript into the site's service worker, which runs in the browsers of site visitors. This only affects multi-site installations and installations where unfiltered_html has been disabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-1361/
- https://plugins.svn.wordpress.org/super-progressive-web-apps/tags/2.2.49/
- https://wordpress.org/plugins/super-progressive-web-apps/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1361/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
