CVE-2026-21630
Joomla vulnerability analysis and mitigation

Overview

CVE-2026-21630 is a SQL injection vulnerability in the Joomla! CMS articles webservice endpoint, caused by improperly constructed ORDER BY clauses that fail to sanitize user-supplied input (CWE-89). It affects Joomla! versions 3.0.0 through 5.4.3 and 6.0.0 through 6.0.3. The vulnerability was published on April 1, 2026, with patches available in versions 5.4.4 and 6.0.4. It carries a CVSS v3.1 base score of 8.8 (High) and a CVSS v4.0 base score of 6.9 (Medium) (GitHub Advisory, Joomla Security Centre).

Technical details

The root cause is improper neutralization of special elements in SQL commands (CWE-89), specifically in the ORDER BY clause construction within the com_content articles webservice endpoint. When a user-controlled sort/order parameter is passed to the endpoint, it is incorporated into the SQL query without adequate sanitization or parameterization, allowing an attacker to inject arbitrary SQL. Exploitation requires only low-privilege (authenticated) access and no user interaction, making it straightforward to leverage once an account is obtained. No public proof-of-concept code has been identified at this time (GitHub Advisory, Joomla Security Centre).

Impact

Successful exploitation allows an authenticated attacker to execute arbitrary SQL commands against the underlying database, potentially exposing sensitive data such as user credentials, personal information, and site configuration. Under the CVSS v3.1 scoring, all three impact dimensions — confidentiality, integrity, and availability — are rated High, meaning an attacker could read, modify, or delete database records and potentially disrupt site availability. Depending on database server configuration, exploitation could also facilitate lateral movement or privilege escalation within the hosting environment (GitHub Advisory, Joomla Security Centre).

Exploitability

As of the time of reporting, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The EPSS score is approximately 0.028% (0th percentile), indicating a low near-term probability of exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires low-privilege authenticated access, which somewhat limits the attack surface compared to unauthenticated vulnerabilities, but the low complexity and network accessibility still make it a meaningful risk for exposed Joomla! installations.

Exploitation steps

  1. Reconnaissance: Identify internet-facing Joomla! installations running versions 3.0.0–5.4.3 or 6.0.0–6.0.3 using tools like Shodan, Censys, or web crawlers. Confirm the Joomla! version via the /administrator/manifests/files/joomla.xml file or HTTP response headers.
  2. Obtain low-privilege credentials: Register or obtain a low-privilege Joomla! account (e.g., a standard registered user), as the vulnerability requires authentication.
  3. Locate the articles webservice endpoint: Access the Joomla! REST API articles endpoint, typically at /api/index.php/v1/content/articles or a similar path depending on configuration.
  4. Inject malicious ORDER BY payload: Append a crafted sort or order parameter to the API request that injects SQL syntax into the ORDER BY clause (e.g., ?sort=title,(SELECT SLEEP(5))--). Observe time-based or error-based responses to confirm injection.
  5. Extract data: Use blind or error-based SQL injection techniques (e.g., with tools like sqlmap) to enumerate database tables, extract user credentials, configuration data, or other sensitive records.
  6. Escalate or pivot: Use extracted credentials or database access to escalate privileges within Joomla! or pivot to other systems accessible from the database server (Joomla Security Centre, GitHub Advisory).

Indicators of compromise

  • Network: Unusual or repeated API requests to /api/index.php/v1/content/articles with anomalous sort, order, or filter query parameters containing SQL keywords (e.g., SELECT, UNION, SLEEP, BENCHMARK, --, ').
  • Logs: Web server access logs showing requests to the articles webservice endpoint with URL-encoded SQL syntax in query strings; database error messages logged by Joomla! related to malformed SQL queries.
  • Database: Unexpected queries in database slow query logs or general query logs involving ORDER BY clauses with embedded SQL functions or subqueries; unauthorized reads of sensitive tables (e.g., #__users).
  • Application: Joomla! error logs (/logs/error.php) showing SQL exceptions or database errors triggered by malformed ORDER BY clauses.

Mitigation and workarounds

Joomla! has released patched versions addressing this vulnerability: upgrade to 5.4.4 or later for the 5.x branch, or 6.0.4 or later for the 6.x branch (Joomla Security Centre). As interim mitigations, restrict access to the Joomla! REST API webservice endpoints at the network or web server level to trusted IP ranges only, and implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in query parameters. Monitor database activity for suspicious query patterns as an additional detection layer.

Community reactions

The vulnerability was noted in automated CVE tracking feeds and vulnerability databases shortly after publication, including entries on VulnDB, CVEFeed, and ENISA's EUVD (Joomla Security Centre). No significant independent researcher commentary, media coverage, or notable social media discussion beyond routine CVE broadcast posts has been identified at this time.

Additional resources


SourceThis report was generated using AI

Related Joomla vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-48958MEDIUM6.4
  • Joomla logoJoomla
  • cpe:2.3:a:joomla:joomla\!
NoYesJul 07, 2026
CVE-2026-48957MEDIUM6.4
  • Joomla logoJoomla
  • cpe:2.3:a:joomla:joomla\!
NoYesJul 07, 2026
CVE-2026-48956MEDIUM6.4
  • Joomla logoJoomla
  • cpe:2.3:a:joomla:joomla\!
NoYesJul 07, 2026
CVE-2026-48955MEDIUM6.4
  • Joomla logoJoomla
  • cpe:2.3:a:joomla:joomla\!
NoYesJul 07, 2026
CVE-2026-48954MEDIUM5.9
  • Joomla logoJoomla
  • cpe:2.3:a:joomla:joomla\!
NoYesJul 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management