CVE-2022-21662
JSON

8.0high

Stored XSS in WordPress

Severity
8.0high CVSS:3.1 by GitHub_M
Exploit likelihood
64.5% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-WORDPRESS-2022-21662BIT-WORDPRESS-MULTISITE-2022-21662GHSA-699q-3hj9-889w

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.

Affected

Product or packageVersionsReported by
WordPress wordpress-develop< 5.8.3CVE List
wordpress wordpressbefore 5.8.3NVD
debian debian_linux9.0, 10.0, 11.0NVD
wordpress (Bitnami)before 5.8.3Bitnami Vulnerability Database
wordpress-multisite (Bitnami)before 5.8.3Bitnami Vulnerability Database

All scores

GitHub_M8.0high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

WordPress es un sistema de administración de contenidos gratuito y de código abierto escrito en PHP y emparejado con una base de datos MariaDB. Los usuarios autenticados con pocos privilegios (como el autor) en el núcleo de WordPress son capaces de ejecutar JavaScript/realizar un ataque de tipo XSS almacenado, que puede afectar a usuarios con altos privilegios. Esto ha sido parcheado en WordPress versión 5.8.3. Las versiones más antiguas afectadas también han sido corregidas por medio de un comunicado de seguridad, que remonta hasta la versión 3.7.37. Le recomendamos encarecidamente que mantenga habilitadas las actualizaciones automáticas. No se presentan medidas de mitigación conocidas para este problema

References

Sources

SourceRecordLicence
CVE ListCVE-2022-21662 changed 2025-04-23CVE Terms of Use
NVDCVE-2022-21662 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-WORDPRESS-2022-21662 changed 2026-09-10Apache-2.0
Bitnami Vulnerability DatabaseBIT-WORDPRESS-MULTISITE-2022-21662 changed 2026-09-10Apache-2.0