Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2090+ Articles
154+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2026-13597: WeChat QR Login WordPress Plugin Authentication Bypass
CVE-2026-13597: WeChat QR Login WordPress Plugin Authentication Bypass

Critical Security Alert

This vulnerability is actively being exploited. Immediate action is recommended.

SECURITYCRITICALCVE-2026-13597

CVE-2026-13597: WeChat QR Login WordPress Plugin Authentication Bypass

A critical authentication bypass in the WeChat QR login WordPress plugin allows unauthenticated attackers to forge login events for any account — the webhook signature check always passes and login codes are leaked in responses.

Dylan H.

Security Team

July 27, 2026
4 min read

Affected Products

  • WeChat QR Login WordPress Plugin (微信二维码登陆) <= 1.3

Executive Summary

A critical authentication bypass vulnerability (CVE-2026-13597, CVSS 9.1) has been disclosed in the WeChat QR Login WordPress plugin (微信二维码登陆). The flaw allows unauthenticated attackers to forge a WeChat login event for any existing username on the site, achieving full account takeover without knowing credentials.

CVSS Score: 9.1 (Critical)

The vulnerability involves two compounding flaws: the plugin's webhook signature verification function always returns true regardless of the incoming payload, and the generated login code is disclosed in the webhook response itself. Together, these flaws allow an attacker to craft a forged webhook request, obtain the login code from the response, and authenticate as any target user — including administrators.

No patch has been released as of the advisory date. The plugin should be disabled immediately on all affected installations.


Vulnerability Overview

AttributeValue
CVE IDCVE-2026-13597
CVSS Score9.1 (Critical)
TypeUnauthenticated Authentication Bypass / Broken Signature Verification
Attack VectorNetwork (unauthenticated)
Privileges RequiredNone
User InteractionNone
Affected PluginWeChat QR Login (微信二维码登陆)
Affected VersionsThrough 1.3
Fixed VersionNone — no patch available

Affected Versions

PluginAffected VersionsFixed Version
WeChat QR Login (微信二维码登陆)Through 1.3Not available

Technical Details

The plugin integrates WeChat's QR code login flow for WordPress sites. When a user scans a QR code with WeChat, the WeChat platform sends a webhook event to the WordPress site to complete the login. The plugin is supposed to verify the webhook request's cryptographic signature to ensure it originates from WeChat.

Root Causes

Flaw 1 — Signature Check Always Passes: The webhook signature validation function contains a logic error that causes it to return true regardless of the actual request payload or signature. This means any HTTP request claiming to be a WeChat webhook is accepted as legitimate.

Flaw 2 — Login Code Disclosure: After processing the webhook, the plugin includes the generated login code in the HTTP response body. An attacker who sends a forged webhook request receives this code directly, bypassing the intended out-of-band delivery mechanism.

Attack Flow

1. Attacker identifies a WordPress site running WeChat QR Login <= 1.3
2. Attacker sends a crafted POST request to the plugin's webhook endpoint
   specifying a target username (e.g., "admin")
3. Plugin accepts the request — signature check returns true unconditionally
4. Plugin generates a login code and includes it in the webhook response
5. Attacker reads the login code from the HTTP response body
6. Attacker uses the login code to complete authentication as the target user
7. Full account takeover — attacker authenticated as any chosen WordPress user

Impact of Exploitation

ImpactDescription
Account TakeoverAuthenticate as any existing WordPress user, including admins
Full Admin AccessIf admin account targeted, complete site compromise
No Credentials RequiredUsername is the only information needed
StealthyNo failed login attempts — bypasses brute-force protections
ScalableAttack can target multiple accounts in sequence

Immediate Remediation

Step 1: Disable the Plugin Immediately

Since no patch is available, the plugin must be disabled or uninstalled on all affected sites:

# Via WP-CLI — deactivate
wp plugin deactivate wechat-qr-login
 
# Or uninstall entirely
wp plugin uninstall wechat-qr-login --deactivate

Or via WordPress admin: Plugins > Installed Plugins > WeChat QR Login > Deactivate / Delete.

Step 2: Review for Unauthorized Access

# Check recent logins for any suspicious activity
wp db query "SELECT user_login, last_activity FROM wp_users
  ORDER BY last_activity DESC LIMIT 50;" 2>/dev/null
 
# If audit logging is enabled, review authentication events
wp user list --orderby=registered --order=DESC --fields=ID,user_login,user_email,user_registered

Step 3: Audit Administrator Accounts

Any administrator account that was active while the plugin was installed should be considered potentially compromised:

# List all admins and last login (requires audit plugin)
wp user list --role=administrator --fields=ID,user_login,user_email

Force password resets for all administrator and editor accounts as a precaution.

Step 4: Block Webhook Endpoint at WAF/Firewall Level

If the plugin cannot be immediately removed, block external access to the webhook endpoint at the network level to prevent exploitation while remediation is planned.


Detection Indicators

IndicatorDescription
POST requests to WeChat webhook endpoint from non-WeChat IPsForged webhook exploitation attempts
Successful logins from unexpected geographic locationsAccount takeover via forged authentication
Admin actions from accounts that should not be activePost-exploitation activity
Unusual sessions created without corresponding QR scanDirect evidence of bypass abuse

Post-Remediation Checklist

  1. Disable or uninstall WeChat QR Login plugin on all affected sites
  2. Force password reset for all administrator and editor accounts
  3. Invalidate all active WordPress sessions: wp user session destroy --all
  4. Review recent content changes, plugin installations, and user additions
  5. Scan for backdoors with a WordPress security scanner
  6. Monitor logs for continued exploitation attempts against the endpoint
  7. Regenerate WordPress security keys: wp config shuffle-salts
  8. Evaluate alternative WeChat login solutions with proper signature validation

References

  • NIST NVD — CVE-2026-13597
  • WPScan Vulnerability Database

Related Reading

  • CVE-2026-13332: Masteriyo LMS Unauthenticated Session Termination
  • CVE-2026-12394: MemberGlut Privilege Escalation to Admin
  • Critical RCE in WPvivid Backup Plugin
#WordPress#CVE-2026-13597#WeChat#Authentication Bypass#Broken Authentication#Web Security

Related Articles

CVE-2026-12394: MemberGlut Plugin Lets Anyone Register as WordPress Admin

A critical privilege escalation flaw in the MemberGlut WordPress plugin allows unauthenticated users to register with any role — including administrator — leading to full site compromise.

4 min read

CVE-2026-13439: WordPress Easy Form Builder Unauthenticated Privilege Escalation (CVSS 9.8)

A critical unauthenticated privilege escalation vulnerability in the Easy Form Builder by WhiteStudio WordPress plugin allows attackers to reset admin...

4 min read

CVE-2026-14289: FacturaONE WooCommerce Plugin Allows Unauthenticated File Write

A critical unauthenticated arbitrary file write vulnerability in the FacturaONE para WooCommerce con VeriFactu plugin (before v5.37) allows attackers to write arbitrary files due to an empty cryptographic key in the default unconfigured state.

5 min read
Back to all Security Alerts