# miniOrange OTP Login, Verification and SMS Notifications <= 5.6.3 - Authenticated (Administrator+) Stored Cross-Site Scripting via Custom Popup Templates

- **ID:** WPSEC-2026-4681
- **Plugin:** miniOrange OTP Login, Verification and SMS Notifications (`miniorange-otp-verification`), https://wordpress.org/plugins/miniorange-otp-verification/
- **Affected versions:** all versions before 5.7.0
- **Fixed in:** 5.7.0 (Update to 5.7.0 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 Low, affected versions Low (as of 2026-12-05)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/miniorange-otp-verification
- **Fix released:** 2026-12-04
- **Published:** 2026-12-05
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4681/

## Description

The miniOrange OTP Login, Verification and SMS Notifications plugin for WordPress is vulnerable to Stored Cross-Site Scripting via custom popup templates in all versions up to, and including, 5.6.3 due to insufficient input sanitization and output escaping. Templates were filtered with a permissive allowlist (or only a script-tag regex in the abilities API), allowing event handler attributes, meta refresh tags and form actions to persist. This makes it possible for authenticated attackers with administrator-level permissions to inject arbitrary web scripts that execute whenever a user views an OTP popup. This only affects multi-site installations and installations where unfiltered_html has been disabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-4681/
- https://plugins.svn.wordpress.org/miniorange-otp-verification/tags/5.7.0/
- https://wordpress.org/plugins/miniorange-otp-verification/

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

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.
