Threat Overview
A critical unauthenticated SQL Injection vulnerability in the GS JWT Authentication (gs-jwt-authentication) WordPress plugin allows remote attackers to execute arbitrary SQL queries directly against the WordPress database.
Tracked under CVE-2026-113615 (CVSS 9.8) in versions up to and including 1.0.0, the plugin concatenates unsanitized HTTP authentication header parameters into raw SQL queries before cryptographic JWT signature validation occurs, exposing password hashes and signing keys.
| Threat Metric | Technical Details |
|---|---|
| Severity Rating | CRITICAL (CVSS 9.8 / 10.0) |
| Vulnerability Class | Improper Neutralization of Special Elements in SQL Command (CWE-89) |
| Vulnerable Components | GS JWT Authentication WordPress Plugin (Versions up to and including 1.0.0) |
| Attack Vector | Unauthenticated HTTP request with crafted Authorization / JWT header |
| Exploit Precondition | Active GS JWT Authentication plugin installation up to version 1.0.0 |
| Fixed Versions | Unpatched zero-day — deactivate and remove immediately |
Our Take in Plain English
“JSON Web Tokens are designed so a server can verify a cryptographic signature in memory before ever touching the database. When a WordPress authentication plugin reverses that order—querying the SQL database with raw, unverified header strings before checking the signature—every anonymous web request becomes a direct database query. Modern pre-rendered edge architectures have no public SQL database to inject.”
The Breakdown: How the Exploit Works
GS JWT Authentication hooks into incoming WordPress REST API and page requests to authenticate stateless JSON Web Token (Authorization: Bearer) headers.
In versions up to and including 1.0.0, the authentication middleware extracts token claims and header values and interpolates them directly into a database lookup query without wpdb::prepare() parameterization—and prior to validating the token’s HMAC signature.
An unauthenticated remote attacker can send crafted SQL payloads inside the HTTP header to extract administrator password hashes, session tokens, and JWT signing secrets from wp_users and wp_options, then mint valid administrative bearer tokens.
The Operational Risk: What an Attacker Gains
- Unauthenticated Database Exfiltration: Attackers read arbitrary tables, including
wp_users,wp_usermeta,wp_options, and customer records. - JWT Signing Secret Compromise: Extracting the JWT secret key allows attackers to forge valid administrator bearer tokens at will.
- Unpatched Zero-Day Status: Version
1.0.0remains unpatched, leaving any active installation permanently exposed until removed. - Silent API Exploitation: Attacks occur entirely inside HTTP headers on standard REST endpoints, often bypassing basic URL-only firewall rules.
The Modern Architectural Remedy
- Legacy Dynamic WordPress: Executes third-party plugin endpoints, database queries, and session handlers inside a single shared PHP runtime on the public origin server.
- Modern Pre-Rendered Edge Architecture: Compiles public pages into read-only static HTML at the global edge, eliminating exposed PHP endpoints and database attack surfaces.
Immediate Action Items for WordPress Operators
- Deactivate and Remove Immediately: Uninstall
gs-jwt-authentication(version1.0.0and prior) immediately. - Rotate JWT & WordPress Salts: Regenerate all JWT signing keys and WordPress authentication salts in
wp-config.php. - Reset Administrator Credentials: Force password resets for all privileged WordPress accounts.
- Audit Database & REST Logs: Review
/wp-json/access logs for anomalousAuthorizationheader lengths or timing spikes.
