Radar sectionsDatabase
Check my site
WordPress plugin

JWT Authentication for WP REST APIs <= 4.7.0 — Unauthenticated Authentication Method Downgrade via 'mo_rest_api_test_config' Parameter

CVE-2026-89027Published · Updated

Action summary

Affected: ≤4.7.0Update to 4.8.0 or newer

All remediation steps
Severity
Medium5.3
CVSS
5.3
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What does this vector mean?
AV:N Attack vector
Network
AC:L Attack complexity
Low
PR:N Privileges required
None
UI:N User interaction
None
S:U Scope
Unchanged
C:N Confidentiality
None
I:L Integrity
Low
A:N Availability
None
Weakness
CWE-693 Protection Mechanism Failure
Required access
No account needed
Exploit prediction (EPSS)
No score
CISA KEV
Not listed

Am I affected?

JWT Authentication for WP REST APIs wp-rest-api-authentication

  1. Affected≤ 4.7.0
  2. Patched in4.8.0

Update to 4.8.0 or newer.

You are affected if you run ≤ 4.7.0. Version 4.8.0 and later are not affected by this issue.

  • Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under JWT Authentication for WP REST APIs.
  • No admin access? Run a passive check of your site. It reads public files only.
  • No account is needed to exploit this. Treat any exposed site on an affected version as at risk.

What to do

  1. Update to version 4.8.0, or a newer patched version
  2. Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
  3. Watch JWT Authentication for WP REST APIs to get an email when the next vulnerability is published.

Advisory

Source description from Wordfence Intelligence, credited to Choriyev Qahramon.

The JWT Authentication for WP REST APIs plugin for WordPress is vulnerable to authentication method downgrade in all versions up to, and including, 4.7.0. This is due to the plugin honoring the 'mo_rest_api_test_config' request parameter in the mo_api_auth_is_valid_request() function without a capability check or nonce verification, which selects the authentication handler for the request. This makes it possible for unauthenticated attackers to force protected REST API requests to be validated with HTTP Basic Authentication against WordPress user credentials, regardless of the JWT, API key, or client-credentials method the administrator configured, and to guess credentials without the rate limiting applied to the other methods.

Exploits & references

Proof-of-concept & detection

No public proof-of-concept or detection template is known for this vulnerability.

Advisories & patches

More in JWT Authentication for WP REST APIs

All 3
More vulnerabilities in JWT Authentication for WP REST APIs
SeverityVulnerabilityCVEPublished
Medium4.3Missing Authorization to Authenticated (Subscriber+) Limited Options Update
≤3.6.3Update to 3.6.4
CVE-2025-39545
High8.8Cross-Site Request Forgery
≤2.4.0Update to 2.4.1
CVE-2022-45073

Timeline

  1. CVE published

    Severity medium, CVSS 5.3

  2. Record last updated

Sources & licenses

Wordfence record
Vulnerability data
Wordfence Intelligence. [object Object] Licensed under the CC BY-SA 4.0.
CVE® identifiers
[object Object]. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
CVSS / CWE
National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
VulnCrest content
Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.

How we use these sources

Search VulnCrest Radar

Are you sure?