# CVE-2026-12215: OTP Login & Register Woocommerce \<= 2.7.2 - Unauthenticated Authentication Bypass via Brute Force

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.56% (percentile 41, 2026-11-28)
- **CWE:** CWE-434
- **Published:** 2026-09-11T03:39:34.830Z
- **Modified:** 2026-09-11T14:17:25.320Z

## Who should check

- Anyone running xootix OTP Login & Register Woocommerce \<= 2.7.2

## Description

The OTP Login & Register Woocommerce plugin for WordPress is vulnerable to Authentication Bypass via OTP Brute Force in all versions up to, and including, 2.7.2. The vulnerability exists because the OTP rate-limit attempt counter in \`process\_otp\_form\` is keyed exclusively on the attacker-controlled \`xoo\_ml\_user\_ip\_data\` cookie's \`ip\_address\` field, allowing unlimited counter resets by simply rotating the cookie, while the OTP itself is generated with PHP's non-cryptographic \`rand()\` function over a default space of only 9,000 possible values (1000–9999), and both the OTP issuance endpoint (\`xoo\_ml\_login\_with\_otp\`) and verification endpoint (\`xoo\_ml\_otp\_form\_submit\`) are registered as unauthenticated \`wp\_ajax\_nopriv\` actions with no nonce or capability checks. This makes it possible for unauthenticated attackers to brute-force the OTP for any registered account and obtain a full WordPress authentication session — including for administrator accounts — via \`wp\_set\_auth\_cookie()\` in \`login\_user\_with\_otp()\`. Exploitation requires the attacker to know the target user's registered phone number, which is used to trigger OTP issuance via the unauthenticated \`xoo\_ml\_login\_with\_otp\` endpoint.

## Affected and fixed versions

- xootix OTP Login & Register Woocommerce: \<= 2.7.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-12215. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-12215.md
Affected: xootix OTP Login & Register Woocommerce <= 2.7.2
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for xootix OTP Login & Register Woocommerce: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-12215 being exploited?

There is no confirmed exploitation: CVE-2026-12215 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.56% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-12215?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-12215?

xootix OTP Login & Register Woocommerce \<= 2.7.2.

### Is there a fix for CVE-2026-12215?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-12215?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- wordfence: <https://www.wordfence.com/threat-intel/vulnerabilities/id/4bd4b379-6d7d-4cfe-bb16-a931c5d68d02?source=cve>
- other: <https://plugins.trac.wordpress.org/browser/mobile-login-woocommerce/tags/2.7.2/includes/class-xoo-ml-verification.php#L472>
- other: <https://plugins.trac.wordpress.org/browser/mobile-login-woocommerce/tags/2.7.2/includes/class-xoo-ml-verification.php#L84>
- other: <https://plugins.trac.wordpress.org/browser/mobile-login-woocommerce/tags/2.7.2/includes/class-xoo-ml-otp-handler.php#L155>
- other: <https://plugins.trac.wordpress.org/browser/mobile-login-woocommerce/tags/2.7.2/includes/class-xoo-ml-geolocation.php#L24>
- other: <https://plugins.trac.wordpress.org/browser/mobile-login-woocommerce/tags/2.7.2/includes/class-xoo-ml-otp-handler.php#L24>
- other: <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3639216%40mobile-login-woocommerce%2Ftrunk%2Fincludes%2Fclass-xoo-ml-otp-handler.php&old=3419316%40mobile-login-woocommerce%2Ftrunk%2Fincludes%2Fclass-xoo-ml-otp-handler.php&sfp_email=&sfph_mail=>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-12215>

HTML: <https://flawdb.com/CVE-2026-12215> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-12215>
