Skip to content
Heist/ feed
Back to feed
Medium

Tainacan <= 0.21.10 - Reflected Cross-Site Scripting

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-9221
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 03:53 UTC · Revision 1

Source evidence

Tainacan <= 0.21.10 - Reflected Cross-Site Scripting

core-osv · Original source

Published 11 Oct 2024, 06:50 UTC

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.

osv:CVE-2024-9221
Complete source record
{
  "id": "c66979098fffe1f027e96a4bf128885bdd61c7e88014f25df1a5935f7d2ec029",
  "url": "https://osv.dev/vulnerability/CVE-2024-9221",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Tainacan <= 0.21.10 - Reflected Cross-Site Scripting",
    "summary": "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.",
    "evidence": "osv:CVE-2024-9221",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-9221",
      "aliases": [
        "CVE-2024-9221"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/tainacan/tainacan",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9f4e3dd335bbefa3f226cc5750b22dcf2569dd6f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:tainacan:tainacan:*:*:*:*:*:wordpress:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.21.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.21.10",
            "0.21.9",
            "0.21.8",
            "0.21.7",
            "0.21.6",
            "0.21.5",
            "0.21.4",
            "0.21.3",
            "0.21.2",
            "0.21.1",
            "0.21.0",
            "0.20.8",
            "0.20.7",
            "0.20.6",
            "0.20.5",
            "0.20.4",
            "0.20.3",
            "0.20.2",
            "0.20.1",
            "0.20.0",
            "0.19.3",
            "0.19.2",
            "0.19.1",
            "0.19",
            "0.18.9",
            "0.18.10",
            "0.18.8",
            "0.18.7",
            "0.18.6",
            "0.18.5",
            "0.18.4",
            "0.18.3",
            "0.18.2",
            "0.18.1",
            "0.18",
            "0.17.4",
            "0.17.3",
            "0.17.2",
            "0.17.1",
            "0.17",
            "0.16.3",
            "0.16.2",
            "0.16.1",
            "0.16",
            "0.15.2",
            "0.15",
            "0.14.2",
            "0.14.1",
            "0.14",
            "0.13.1",
            "0.13",
            "0.12",
            "0.11",
            "0.7",
            "0.3",
            "0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-9221.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.074140452Z",
      "provider": "osv",
      "references": [
        "https://plugins.trac.wordpress.org/browser/tainacan/tags/0.21.10/classes/theme-helper/template-tags.php#L1298",
        "https://plugins.trac.wordpress.org/browser/tainacan/tags/0.21.10/classes/theme-helper/template-tags.php#L1524",
        "https://plugins.trac.wordpress.org/changeset/3165873/",
        "https://www.wordfence.com/threat-intel/vulnerabilities/id/85a8a7df-b472-4a81-b808-a413c158c1cf?source=cve",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9221.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-9221"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "Wordfence",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "0.21.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9221.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-9221",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510031,
  "published_at": "2024-10-11T06:50:17.312+00:00"
}