{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "4.28.9"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "e37730239b7f058882589467ca4afbbe48747ec1"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e37730239b7f058882589467ca4afbbe48747ec1"
            }
          ],
          "repo": "https://github.com/msaari/relevanssi",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Wordfence",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135267.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "last_affected": "2.31.11"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      }
    ]
  },
  "details": "The Relevanssi – A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'name (REST /wp/v2/tags) / tax_input[post_tag] (post save)' parameter in all versions up to, and including, 4.28.9 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is exploitable because WordPress's wp_filter_kses stores entity-encoded payloads (e.g., \u0026lt;img src=x onerror=...\u0026gt;) verbatim as literal text in the database, but Relevanssi's relevanssi_entity_decode() subsequently converts them into live HTML markup before the unescaped return branch of relevanssi_the_tags() splices them into the tag list consumed by the theme.",
  "id": "CVE-2026-135267",
  "modified": "2026-11-27T20:45:47.135079194Z",
  "published": "2026-11-26T11:32:14.624Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/excerpts-highlights.php#L1700"
    },
    {
      "type": "WEB",
      "url": "https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/excerpts-highlights.php#L690"
    },
    {
      "type": "WEB",
      "url": "https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/utils.php#L1543"
    },
    {
      "type": "WEB",
      "url": "https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/utils.php#L644"
    },
    {
      "type": "WEB",
      "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/6cabeb52-f089-469b-adcd-72aa6fcc3676?source=cve"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135267.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-135267"
    },
    {
      "type": "FIX",
      "url": "https://github.com/msaari/relevanssi/commit/e37730239b7f058882589467ca4afbbe48747ec1"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Relevanssi \u003c= 4.28.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'tax_input[post_tag]' Parameter"
}