Tainacan <= 0.21.8 - Authenticated (Subscriber+) SQL Injection

6.5
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2024-48040
CVSS 6.5 (Medium)
Publicly Published October 9, 2024
Last Updated October 16, 2024
Researcher Trương Hữu Phúc (truonghuuphuc)

Description

The Tainacan plugin for WordPress is vulnerable to SQL Injection in versions up to, and including, 0.21.8 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Tainacan

Software Type Plugin
Software Slug tainacan (view on wordpress.org)
Patched? Yes
Remediation Update to version 0.21.9, or a newer patched version
Affected Version
  • <= 0.21.8
Patched Version
  • 0.21.9

Recent vulnerabilities in Tainacan

# Title CVE ID CVSS Researchers Date
1 Tainacan <= 1.0.3 - Unauthenticated SQL Injection via 'geoquery' REST API Parameter CVE-2026-6230 7.5 daroo July 7, 2026
2 Tainacan <= 1.0.3 - Unauthenticated SQL Injection CVE-2026-42740 7.5 hhhai May 28, 2026
3 Tainacan <= 1.0.1 - Missing Authorization to Unauthenticated Arbitrary Metadata Section Creation CVE-2025-14043 5.3 Deadbee December 20, 2025
4 Tainacan <= 1.0.0 - Reflected Cross-Site Scripting CVE-2025-12746 6.1 Deadbee November 20, 2025
5 Tainacan <= 1.0.0 - Unauthenticated Information Exposure CVE-2025-12747 5.3 Deadbee November 20, 2025
6 Tainacan <= 0.21.14 - Unauthenticated Arbitrary File Deletion CVE-2025-47512 5.3 astra.r3verii May 16, 2025
7 Tainacan <= 0.21.12 - Authenticated (Subscriber+) SQL Injection CVE-2024-13236 6.5 Trương Hữu Phúc (truonghuuphuc) January 22, 2025
8 Tainacan <= 0.21.10 - Reflected Cross-Site Scripting CVE-2024-9221 6.1 Colin Xu October 10, 2024
9 Tainacan <= 0.21.7 - Missing Authorization to Authenticated (Subscriber+) Arbitrary File Read CVE-2024-7135 6.5 1337_Wannabe July 30, 2024
10 Tainacan <= 0.21.3 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-34795 6.4 LVT-tholv2k May 20, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation