Skip to content
Heist/ feed
Back to feed
Medium

Yoast SEO <= 22.6 - Authenticated (Contributor+) Stored Cross-Site Scripting

Type: advisorySources: OSV

The Yoast SEO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘display_name’ author meta in all versions up to, and including, 22.6 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.

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

Source evidence

Yoast SEO <= 22.6 - Authenticated (Contributor+) Stored Cross-Site Scripting

core-osv · Original source

Published 16 May 2024, 02:02 UTC

The Yoast SEO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘display_name’ author meta in all versions up to, and including, 22.6 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.

osv:CVE-2024-4984
Complete source record
{
  "id": "300bc771e73251748ab7d066134bb432fcf6e9234f487083abf3dcc651621337",
  "url": "https://osv.dev/vulnerability/CVE-2024-4984",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Yoast SEO <= 22.6 - Authenticated (Contributor+) Stored Cross-Site Scripting",
    "summary": "The Yoast SEO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘display_name’ author meta in all versions up to, and including, 22.6 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.",
    "evidence": "osv:CVE-2024-4984",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-4984",
      "aliases": [
        "CVE-2024-4984"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/yoast/wordpress-seo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "00a0f12f52fc556b7b1ad1241ae698cb036b76cd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "22.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "22.6",
            "22.5",
            "22.4",
            "22.3",
            "22.2",
            "22.1",
            "22.0",
            "21.9.1",
            "21.9",
            "21.8.1",
            "21.8",
            "21.7",
            "21.6",
            "21.5",
            "21.4",
            "21.3",
            "21.2",
            "21.1",
            "21.0",
            "20.13",
            "20.12",
            "20.11",
            "20.10",
            "20.9",
            "20.8",
            "20.7",
            "20.6",
            "20.5",
            "20.4",
            "20.3",
            "20.2.1",
            "20.2",
            "20.1",
            "20.0",
            "19.14",
            "19.13",
            "19.12",
            "19.11",
            "19.10",
            "19.9",
            "19.8",
            "19.7.2",
            "19.7.1",
            "19.7",
            "19.6.1",
            "19.6",
            "19.5.1",
            "19.5",
            "19.4",
            "19.3",
            "19.2",
            "19.1",
            "18.9",
            "19.0",
            "18.8",
            "18.7",
            "18.6",
            "18.5.1",
            "18.5",
            "18.4.1",
            "18.3",
            "18.2",
            "18.1",
            "18.0",
            "17.9",
            "17.8",
            "17.7.1",
            "17.7",
            "17.6",
            "17.5",
            "17.4",
            "17.3",
            "17.2.1",
            "17.2",
            "17.1",
            "17.0",
            "16.9",
            "16.8",
            "16.7",
            "16.6.1",
            "16.6",
            "16.5",
            "16.4",
            "16.3",
            "16.2",
            "16.1.1",
            "16.1",
            "16.0.2",
            "16.0.1",
            "16.0",
            "15.9.2",
            "15.9.1",
            "15.9",
            "15.8.1-RC1",
            "15.8",
            "15.7",
            "15.6.2",
            "15.6.1",
            "15.6",
            "15.5",
            "15.4",
            "15.3",
            "15.2.1",
            "15.2",
            "15.1.1",
            "15.1",
            "15.0",
            "14.9",
            "14.8.1",
            "14.8",
            "14.7",
            "14.6.1",
            "14.6",
            "14.5",
            "14.4.1",
            "14.4",
            "14.3",
            "14.2",
            "14.1",
            "14.0.4",
            "14.0.3",
            "14.0.2",
            "14.0.1",
            "14.0",
            "13.5",
            "13.4",
            "13.3",
            "13.2",
            "13.1",
            "13.0",
            "12.9.1",
            "12.9",
            "12.8.1",
            "12.8",
            "12.7.1",
            "12.7",
            "12.6.2",
            "12.6.1",
            "12.6",
            "12.5.1",
            "12.5",
            "12.4",
            "12.3",
            "12.2",
            "12.1",
            "12.0",
            "11.9",
            "11.8",
            "11.7",
            "11.6",
            "11.5",
            "11.4",
            "11.3",
            "11.2.1",
            "11.2",
            "11.1.1",
            "11.1",
            "11.0",
            "10.1.3",
            "10.1.2",
            "10.1.1",
            "10.1",
            "10.0.1",
            "10.0",
            "9.7",
            "9.6",
            "9.0.2",
            "9.5",
            "9.4",
            "9.3",
            "9.2.1",
            "9.2",
            "9.1",
            "9.0.3",
            "9.0.1",
            "9.0",
            "8.4",
            "8.3",
            "8.2.1",
            "8.2",
            "8.1.2",
            "8.1.1",
            "8.1",
            "8.0",
            "7.9.1",
            "7.9",
            "7.8",
            "7.7.3",
            "7.7.2",
            "7.7.1",
            "7.7",
            "7.6.1",
            "7.6",
            "7.5.3",
            "7.5.1",
            "7.5",
            "7.4.2",
            "7.4.1",
            "7.4",
            "7.3",
            "7.2",
            "7.1",
            "7.0.3",
            "7.0.2",
            "7.0.1",
            "7.0",
            "6.3.1",
            "6.3",
            "6.2",
            "6.1.1",
            "6.1",
            "6.0",
            "5.9.3",
            "5.9.2",
            "5.9.1",
            "5.9",
            "5.8",
            "5.7.1",
            "5.7",
            "5.6.1",
            "5.6",
            "5.5.1",
            "5.5",
            "5.4.2",
            "5.4.1",
            "5.4.0",
            "5.3.3",
            "5.3.2",
            "5.3.1",
            "5.3",
            "5.2",
            "5.1",
            "4.9",
            "4.8",
            "4.7",
            "4.6",
            "4.5",
            "3.7.0",
            "3.4",
            "3.3.1",
            "3.0.6",
            "3.0.5",
            "3.0.4",
            "3.0.3",
            "3.0.2",
            "3.0.1",
            "3.0",
            "2.3.2",
            "2.3.1",
            "2.3",
            "2.2.1",
            "2.2",
            "2.1.1",
            "2.1",
            "2.0.1",
            "2.0",
            "1.8-beta",
            "1.6.3",
            "1.6.2",
            "1.6.1",
            "1.6",
            "1.5.6",
            "1.5.5.3",
            "1.5.5.2",
            "1.5.5.1",
            "1.5.5",
            "1.5.2.4",
            "1.5.2.3",
            "1.5.2.2",
            "1.5.2.1",
            "1.5.2",
            "1.5.1",
            "1.5.0",
            "1.4.25",
            "1.4.24",
            "1.4.23",
            "1.4.22",
            "1.4.21",
            "1.4.20",
            "1.4.18",
            "1.4.15"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-4984.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.496076466Z",
      "provider": "osv",
      "references": [
        "https://developer.yoast.com/changelog/yoast-seo/22.7/",
        "https://plugins.trac.wordpress.org/changeset/3079234/wordpress-seo/trunk/src/presenters/slack/enhanced-data-presenter.php",
        "https://www.wordfence.com/threat-intel/vulnerabilities/id/59bcd246-ca2f-4336-9a6e-89afe873ed25?source=cve",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4984.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-4984",
        "https://github.com/Yoast/wordpress-seo/pull/21334"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "Wordfence",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4984.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-4984",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 522133,
  "published_at": "2024-05-16T02:02:35.901+00:00"
}