Joomla YouTube Gallery SQLi reads database (CVE-2026-94130) [PoC]
CVE-2026-94130
CVE-2026-94130: unauthenticated SQL injection in Joomla YouTube Gallery < 5.7.3 lets attackers read database contents (CVSS 9.3). Update to 5.7.3 now.
Exploitation confirmed - public proof-of-concept - CVE-2026-94130 is a critical unauthenticated SQL injection in the Joomla YouTube Gallery extension (joomlaboat.com) before version 5.7.3 that lets attackers inject SQL into video search and sorting queries and read arbitrary data from the site’s database. Patched in 5.7.3 - update immediately.
Overview
YouTube Gallery is a Joomla extension that pulls YouTube videos and playlists into a Joomla site. The extension’s video search and sorting functionality passes user-supplied input directly into database queries without proper parameterization. Because these endpoints are reachable without logging in, any remote attacker can send crafted requests and inject SQL commands into read queries.
The flaw carries a CVSS score of 9.3 (NETWORK attack vector, LOW complexity, NONE privileges required, NONE user interaction). No account, no special position on the network, and no victim action are needed. A single HTTP request is enough.
Impact
Successful exploitation lets an attacker read data the Joomla database user can access. Depending on how the site is configured, that can include Joomla user accounts and password hashes, session records, email addresses, and any content stored in the same database. In many shared-hosting setups the Joomla database user also has access to tables from other applications on the same account, widening the exposure.
This is a read-only injection in the current public reporting, but database read access is frequently the first stage of a larger intrusion: harvested admin password hashes and session data enable follow-on account takeover. Unauthenticated SQL injection is also a common target for automated mass scanning, so exposed installations should be treated as high risk even though no active exploitation has been confirmed.
Remediation and Mitigation
- Update YouTube Gallery to version 5.7.3 or later. This is the only complete fix.
- If you cannot patch immediately, disable the extension’s video search and sorting functionality, or unpublish the extension entirely until you can upgrade.
- Restrict access to the vulnerable endpoints with a web application firewall rule as a temporary stopgap; treat this as mitigation, not remediation.
- Review database and web server logs for requests containing SQL keywords or unusual characters in search and sort parameters.
- Rotate Joomla administrator credentials and any database passwords, and invalidate active sessions if you find evidence of probing or exploitation.
- Confirm your Joomla core and all other extensions are current; attackers chain extension flaws with core issues.
Inventory any site running YouTube Gallery before 5.7.3, including staging and forgotten installs. Data breach reports are available at breach reports and ongoing coverage at security news.
Security Insight
This is the second time in recent years that a popular Joomla content extension has shipped an unauthenticated SQL injection through unparameterized search input - a pattern that keeps recurring because extensions are maintained by small teams and tested for functionality, not adversarial input. The CVSS profile here is the worst case: no authentication, no complexity, no user interaction, which makes it trivially scriptable against the long tail of unmaintained Joomla sites. It underlines that Joomla’s core hardening means little when the extension ecosystem remains the softest target in the stack.
Further Reading
Never miss a critical vulnerability
Get real-time security alerts delivered to your preferred platform.
Public PoC References
Unverified third-party code
These repositories are publicly listed on GitHub and have not been audited by Yazoul Security. They may contain malware, backdoors, destructive payloads, or operational security risks (telemetry, exfiltration). Treat them as hostile binaries. Inspect source before execution. Run only in isolated, disposable lab environments (offline VM, no credentials, no production data).
Authorized use only. This information is provided for defensive research, detection engineering, and patch validation. Using exploit code against systems you do not own or do not have explicit written permission to test is illegal in most jurisdictions and violates Yazoul's terms of use.
| Repository | Stars |
|---|---|
| murrez/CVE-2026-94130 Unauthenticated SQL injection in Joomla YouTube Gallery (joomlaboat.com, com_youtubegallery) ≤ 5.7.2 — video search/sort on the public yg_api endpoint. Python check/exploit PoC for CVE-2026-94130 — Po | ★ 0 |
Showing 1 of 1 known references. Source: nomi-sec/PoC-in-GitHub.
Related Advisories
YesWiki is a wiki system written in PHP. Prior to version 4.6.4, an unauthenticated SQL injection in the Bazar form-import path (`FormManager::create()`) allows any unauthenticated visitor of a defau...
WordPress 6.8.x before 6.8.6, 6.9.x before 6.9.5, and 7.0.x before 7.0.2 does not properly sanitise the author__not_in parameter of WP_Query, which could allow SQL Injection when a plugin or theme pas...
Beauty Parlour Management System v1.1 was discovered to contain a SQL injection vulnerability via the aptnumber parameter in the /appointment-detail.php endpoint. This vulnerability allows attackers t...
Electric is a Postgres sync engine. From 1.1.12 to before 1.5.0, the order_by parameter in the ElectricSQL /v1/shape API is vulnerable to error-based SQL injection, allowing any authenticated user to ...