Unrated severityNVD Advisory· Published Jan 6, 2022· Updated Sep 9, 2024
SQL injection in WordPress
CVE-2022-21661
Description
WordPress is a free and open-source content management system written in PHP and paired with a MariaDB database. Due to improper sanitization in WP_Query, there can be cases where SQL injection is possible through plugins or themes that use it in a certain way. This has been patched in WordPress version 5.8.3. Older affected versions are also fixed via security release, that go back till 3.7.37. We strongly recommend that you keep auto-updates enabled. There are no known workarounds for this vulnerability.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
4- Range: >=3.7.37, <=5.8.3
- osv-coords2 versions
>= 3.7.0, < 3.7.37+ 1 more
- (no CPE)range: >= 3.7.0, < 3.7.37
- (no CPE)range: >= 3.7.0, < 3.7.37
- Range: < 5.8.3
Patches
Vulnerability mechanics
References
10- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/mitrevendor-advisoryx_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/mitrevendor-advisoryx_refsource_FEDORA
- www.debian.org/security/2022/dsa-5039mitrevendor-advisoryx_refsource_DEBIAN
- packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.htmlmitrex_refsource_MISC
- github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214mitrex_refsource_MISC
- github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84mitrex_refsource_CONFIRM
- lists.debian.org/debian-lts-announce/2022/01/msg00019.htmlmitremailing-listx_refsource_MLIST
- wordpress.org/news/2022/01/wordpress-5-8-3-security-release/mitrex_refsource_MISC
- www.exploit-db.com/exploits/50663mitrex_refsource_MISC
- www.zerodayinitiative.com/advisories/ZDI-22-020/mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.