# CVE-2022-21662: Stored XSS in WordPress

- Severity: High 8.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 64.5%, higher than 99% of CVEs (2026-12-01)
- Published: 2022-01-06T23:05:10.000Z
- Modified: 2026-09-10T16:01:48.503Z
- Also known as: BIT-WORDPRESS-2022-21662, BIT-WORDPRESS-MULTISITE-2022-21662, GHSA-699q-3hj9-889w
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- WordPress wordpress-develop: < 5.8.3
- wordpress wordpress: before 5.8.3
- debian debian_linux: 9.0; 10.0; 11.0
- wordpress (Bitnami): before 5.8.3
- wordpress-multisite (Bitnami): before 5.8.3

## Every score

- GitHub_M: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## 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

- CVE List: [CVE-2022-21662](https://www.cve.org/CVERecord?id=CVE-2022-21662), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-21662](https://nvd.nist.gov/vuln/detail/CVE-2022-21662), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-WORDPRESS-2022-21662](https://osv.dev/vulnerability/BIT-WORDPRESS-2022-21662), Apache-2.0, modified 2026-09-10
- Bitnami Vulnerability Database: [BIT-WORDPRESS-MULTISITE-2022-21662](https://osv.dev/vulnerability/BIT-WORDPRESS-MULTISITE-2022-21662), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2022-21662 · Whole record: https://cve.day/CVE-2022-21662.json · Rebuilt by cve.day 2026-11-25T22:58:09.147Z
