CVE-2024-9221: Tainacan (WordPress plugin) · Cross-site Scripting
Affects Tainacan (WordPress plugin)Source CVE Database V5
Not known to be exploited · CVSS 6.1 Medium.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 11 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| leogermani Tainacan | Affected
| Fixed in– |
AI-suggested
To mitigate CVE-2024-9221, organizations should first verify if they are running Tainacan plugin versions up to 0.21.10 and upgrade to a patched version once available. In the absence of an official patch, administrators should implement input validation and output encoding on all URL parameters processed by add_query_arg to ensure proper escaping of special characters. Employing a Web Application Firewall (WAF) with rules to detect and block reflected XSS payloads targeting Tainacan URLs can provide interim protection. Educate users about the risks of clicking suspicious links, especially those purporting to come from trusted sites. Review and harden Content Security Policy (CSP) headers to restrict script execution sources, reducing the impact of injected scripts. Regularly monitor logs for unusual URL patterns or spikes in suspicious traffic. Finally, maintain a robust incident response plan to quickly address any exploitation attempts.
Description
The Tainacan plugin for WordPress is vulnerable to Reflected Cross-Site Scripting due to the use of add_query_arg without appropriate escaping on the URL in all versions up to, and including, 0.21.10. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
References
- wordfence.com/threat-intel/vulnerabilities/id/85a8a7df-b472-4a81-b808-a413c158c1cf?source=cve (opens in a new tab)
- plugins.trac.wordpress.org/browser/tainacan/tags/0.21.10/classes/theme-helper/template-tags.php (opens in a new tab)
- plugins.trac.wordpress.org/changeset/3165873/ (opens in a new tab)
- plugins.trac.wordpress.org/browser/tainacan/tags/0.21.10/classes/theme-helper/template-tags.php (opens in a new tab)