Skip to content
Heist/ feed
Back to feed
Medium

WordPress Core < 6.0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via use of the_meta(); function

Type: advisorySources: OSV

WordPress Core, in versions up to 6.0.2, is vulnerable to Authenticated Stored Cross-Site Scripting that can be exploited by users with access to the WordPress post and page editor, typically consisting of Authors, Contributors, and Editors making it possible to inject arbitrary web scripts into posts and pages that execute if the the_meta(); function is called on that page.

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

Source evidence

WordPress Core < 6.0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via use of the_meta(); function

core-osv · Original source

Published 16 Oct 2024, 06:43 UTC

WordPress Core, in versions up to 6.0.2, is vulnerable to Authenticated Stored Cross-Site Scripting that can be exploited by users with access to the WordPress post and page editor, typically consisting of Authors, Contributors, and Editors making it possible to inject arbitrary web scripts into posts and pages that execute if the the_meta(); function is called on that page.

osv:CVE-2022-4973
Complete source record
{
  "id": "bfbb1b13183a8d0908a28a35b7b8a7b6853ad46f0ed2b856226b8de5aa6275db",
  "url": "https://osv.dev/vulnerability/CVE-2022-4973",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "WordPress Core < 6.0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via use of the_meta(); function",
    "summary": "WordPress Core, in versions up to 6.0.2, is vulnerable to Authenticated Stored Cross-Site Scripting that can be exploited by users with access to the WordPress post and page editor, typically consisting of Authors, Contributors, and Editors making it possible to inject arbitrary web scripts into posts and pages that execute if the the_meta(); function is called on that page.",
    "evidence": "osv:CVE-2022-4973",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-4973",
      "aliases": [
        "BIT-wordpress-2022-4973",
        "BIT-wordpress-multisite-2022-4973",
        "CVE-2022-4973"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wordpress/wordpress",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "6b1cabaea14273b59645714cb3aa4be00e6c9dbb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "6.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4973.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/wordpress/wordpress-develop",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "2bb5679d666474d024352fa53f07344affef7e69"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "6.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4973.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.195486702Z",
      "provider": "osv",
      "references": [
        "https://core.trac.wordpress.org/changeset/53961",
        "https://wordpress.org/news/2022/08/wordpress-6-0-2-security-and-maintenance-release/",
        "https://www.wordfence.com/threat-intel/vulnerabilities/id/b5582e89-83e6-4898-b9fe-09eddeb5f7ae?source=cve",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4973.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-4973",
        "https://www.wordfence.com/blog/2022/08/wordpress-core-6-0-2-security-maintenance-release-what-you-need-to-know/"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "Wordfence",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "3.6.1"
                  },
                  {
                    "introduced": "3.7"
                  },
                  {
                    "last_affected": "3.7.38"
                  },
                  {
                    "introduced": "3.8"
                  },
                  {
                    "last_affected": "3.8.38"
                  },
                  {
                    "introduced": "3.9"
                  },
                  {
                    "last_affected": "3.9.36"
                  },
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0.35"
                  },
                  {
                    "introduced": "4.1"
                  },
                  {
                    "last_affected": "4.1.35"
                  },
                  {
                    "introduced": "4.2"
                  },
                  {
                    "last_affected": "4.2.32"
                  },
                  {
                    "introduced": "4.3"
                  },
                  {
                    "last_affected": "4.3.28"
                  },
                  {
                    "introduced": "4.4"
                  },
                  {
                    "last_affected": "4.4.27"
                  },
                  {
                    "introduced": "4.5"
                  },
                  {
                    "last_affected": "4.5.26"
                  },
                  {
                    "introduced": "4.6"
                  },
                  {
                    "last_affected": "4.6.23"
                  },
                  {
                    "introduced": "4.7"
                  },
                  {
                    "last_affected": "4.7.23"
                  },
                  {
                    "introduced": "4.8"
                  },
                  {
                    "last_affected": "4.8.19"
                  },
                  {
                    "introduced": "4.9"
                  },
                  {
                    "last_affected": "4.9.20"
                  },
                  {
                    "introduced": "5.0"
                  },
                  {
                    "last_affected": "5.0.16"
                  },
                  {
                    "introduced": "5.1"
                  },
                  {
                    "last_affected": "5.1.13"
                  },
                  {
                    "introduced": "5.2"
                  },
                  {
                    "last_affected": "5.2.15"
                  },
                  {
                    "introduced": "5.3"
                  },
                  {
                    "last_affected": "5.3.12"
                  },
                  {
                    "introduced": "5.4"
                  },
                  {
                    "last_affected": "5.4.10"
                  },
                  {
                    "introduced": "5.5"
                  },
                  {
                    "last_affected": "5.5.9"
                  },
                  {
                    "introduced": "5.6"
                  },
                  {
                    "last_affected": "5.6.8"
                  },
                  {
                    "introduced": "5.7"
                  },
                  {
                    "last_affected": "5.7.6"
                  },
                  {
                    "introduced": "5.8"
                  },
                  {
                    "last_affected": "5.8.4"
                  },
                  {
                    "introduced": "5.9"
                  },
                  {
                    "last_affected": "5.9.3"
                  },
                  {
                    "introduced": "6.0"
                  },
                  {
                    "last_affected": "6.0.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4973.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-4973",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 522274,
  "published_at": "2024-10-16T06:43:41.734+00:00"
}