WordPress security changelog
HIGH CVE-2022-21662 Modified

WordPress: Cross-site scripting

WordPress is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.

CVE / CNA score 8.0 CVSS 3.1 · security-advisories@github.com
NVD score 5.4 CVSS 3.1 · nvd@nist.gov
Component
WordPress
Plugin slug
Core
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Jan 06, 2022
Weakness
CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

This CVE was published Jan 06, 2022 and is one of 45 known issues for WordPress core.

Patch or disable the affected component.

Update WordPress to a release outside the affected range, or disable and remove it until a fixed version is available.

Technical description

WordPress is a free and open-source content management system written in PHP and paired with a MariaDB database. Low-privileged authenticated users (like author) in WordPress core are able to execute JavaScript/perform stored XSS attack, which can affect high-privileged users. This has been patched in WordPress version 5.8.3. Older affected versions are also fixed via security release, that go back till 3.7.37. We strongly recommend that you keep auto-updates enabled. There are no known workarounds for this issue.

CVE / CNA vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

NVD vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Primary and upstream sources