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 package | Versions | Reported by |
|---|---|---|
| WordPress wordpress-develop | < 5.8.3 | CVE List |
| wordpress wordpress | before 5.8.3 | NVD |
| debian debian_linux | 9.0, 10.0, 11.0 | NVD |
| wordpress (Bitnami) | before 5.8.3 | Bitnami Vulnerability Database |
| wordpress-multisite (Bitnami) | before 5.8.3 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
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
| https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/ | advisory, release-notes, vendor-advisory | |
| https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-699q-3hj9-889w | advisory, third-party-advisory | |
| https://www.debian.org/security/2022/dsa-5039 | advisory, third-party-advisory, vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/ | vendor-advisory, web | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/ | vendor-advisory, web | |
| https://lists.debian.org/debian-lts-announce/2022/01/msg00019.html | advisory, mailing-list, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-21662 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-21662 changed 2025-04-23 | CVE Terms of Use |
| NVD | CVE-2022-21662 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-WORDPRESS-2022-21662 changed 2026-09-10 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-WORDPRESS-MULTISITE-2022-21662 changed 2026-09-10 | Apache-2.0 |