# CVE-2026-12402: OTP Login & Register Woocommerce stored cross-site scripting in fb-config

Source: https://junglewise.ai/threats/cve-2026-12402-the-otp-login-register-woocommerce-plugin-for-wordpress-is  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-19. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-12402 · Severity: medium · CVSS 4.4 · Published 2026-09-19

The OTP Login & Register Woocommerce plugin for WordPress allows administrators to inject malicious scripts that persist and execute for all users visiting affected pages. An attacker with admin-level access can compromise site functionality, steal user data, or hijack administrator accounts by exploiting insufficient input validation on the 'fb-config' setting. On WordPress multisite networks, this can escalate to compromise the network super administrator.

## Quick answers

**Is CVE-2026-12402 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-12402 being exploited in the wild.

**How severe is CVE-2026-12402?** Medium severity, with a CVSS score of 4.4, published 19 September 2026.

**Which products and versions are affected?** OTP Login & Register Woocommerce up to and including 2.7.3.

**Is there a fix for CVE-2026-12402?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-12402 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-12402?** Check whether you run OTP Login & Register Woocommerce at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stored cross-site scripting (XSS) vulnerability exists in the 'fb-config' setting due to inadequate input sanitization and output escaping. Authenticated users with administrator privileges can inject arbitrary JavaScript that persists in the database and executes in the browsers of all site visitors. The vulnerability affects all versions up to and including 2.7.3; on multisite installations lacking the unfiltered_html capability, even regular administrators can exploit this to target the super administrator.

## Affected products

- OTP Login & Register Woocommerce up to and including 2.7.3

## Timeline

- 2026-09-19: disclosed

## References

- [https://plugins.trac.wordpress.org/browser/mobile-login-woocommerce/tags/2.7.2/includes/class-xoo-ml-frontend.php](https://plugins.trac.wordpress.org/browser/mobile-login-woocommerce/tags/2.7.2/includes/class-xoo-ml-frontend.php)
- [https://plugins.trac.wordpress.org/browser/mobile-login-woocommerce/tags/2.7.2/includes/xoo-framework/admin/class-xoo-admin-settings.php](https://plugins.trac.wordpress.org/browser/mobile-login-woocommerce/tags/2.7.2/includes/xoo-framework/admin/class-xoo-admin-settings.php)

## Related threats

- [OTP Login & Register Woocommerce authentication bypass via OTP brute force](https://junglewise.ai/threats/cve-2026-110135-the-otp-login-register-woocommerce-wordpress-plugin-before-2-7-3)
