CVE-2022-4973 MEDIUM

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

Vendor Wordpress Foundation
Product WordPress
Weakness CWE-79 · XSS
Published October 16, 2024
Last update April 8, 2026

CVSS base score

4.9/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

WordPress versions 3.6.1 and earlier contain a stored cross-site scripting (XSS) vulnerability. An attacker with low-level privileges can inject malicious scripts that execute in other users' browsers when they view affected content. The vulnerability has scope change, meaning the impact extends beyond the vulnerable component itself.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that run in other users' browsers and steal their session data or perform actions on their behalf.

Potential impact on your site

04Site Impact

Site visitors and administrators can have their sessions hijacked or be tricked into performing unwanted actions by malicious scripts injected by low-privilege users.

Conditions required to exploit

05Prerequisites

Attacker needs a low-privilege WordPress account; no user interaction required from victims.

Key dates

06Disclosure timeline

October 16, 2024 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE