CVE-2022-21662
MEDIUM5.4EPSS 14.2%Stored XSS in WordPress
Published: 1/6/2022Modified: 5/27/2026
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 packages (3)
- Bitnami/wordpressfrom 0, < 5.8.3
- Bitnami/wordpress-multisitefrom 0, < 5.8.3
- Debian/wordpressfrom 0, < 5.7.5+dfsg1-0+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
References (8)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-21662
- WEBhttps://github.com/WordPress/wordpress-develop/security/advisories/GHSA-699q-3hj9-889w
- WEBhttps://lists.debian.org/debian-lts-announce/2022/01/msg00019.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-21662
- WEBhttps://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/
- WEBhttps://www.debian.org/security/2022/dsa-5039