CVE-2022-23797 [20220305] - Core - Inadequate filtering on the selected Ids
Attackers can exploit inadequate ID filtering to perform SQL injection, potentially reading or modifying database contents in Joomla CMS.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-23797?
CVE-2022-23797 is a critical SQL injection vulnerability in Joomla Joomla\!, published on 30 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in Joomla! 3.0.0 through 3.10.6 & 4.0.0 through 4.1.0. Inadequate filtering on the selected Ids on an request could resulted into an possible SQL injection.
Weakness: CWE-89
Which versions are affected by CVE-2022-23797?
1 open source package ship an affected version, including joomla. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
joomla Bitnami | From 3.0.0 to 3.10.6 | None |
Products include Joomla Joomla\!.
How do I fix CVE-2022-23797?
No fix has been published for CVE-2022-23797 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2022-23797 being exploited?
There is no known exploitation of CVE-2022-23797 in the wild and no public exploit code.
Other vulnerabilities in Joomla Joomla\!
- CVE-2016-10033 PHPMailer Command Injection
- CVE-2023-23752 Joomla! Improper Access Control
- CVE-2026-48902 Joomla! Core - [20260518] - Transport encryption downgrade for password and username reset links
- CVE-2025-25226 [20250401] - Joomla Framework - SQL injection vulnerability in quoteNameStr method of Database package
- CVE-2022-23795 [20220303] - Core - User row are not bound to a authentication mechanism
Sources
Also known as BIT-joomla-2022-23797, GHSA-72pc-jmmj-xpw5.