CVE-2022-21662Wordpress XSS
Low-privileged authenticated users (like author) in WordPress core are able to execute JavaScript/perform stored XSS attack, which can affect high-privileged users.
Published Jan 6, 2022 · Updated Nov 3, 2026 · Also known as BIT-wordpress-2022-21662, BIT-wordpress-multisite-2022-21662, DEBIAN-CVE-2022-21662, GHSA-699q-3hj9-889w, UBUNTU-CVE-2022-21662, WORDFENCE-c272f769-65da-4963-aff0-8f68a277ea63, c272f769-65da-4963-aff0-8f68a277ea63
Key Facts
Patch immediately- CVE-2022-21662 is a medium-severity vulnerability (CVSS 5.4 v3.1) affecting Wordpress, Debian Linux, wordpress-multisite (bitnami) and 1 more product.
- It is exploited in the wild, listed in Industry KEV feed since Aug 19, 2022. No public exploit code is known.
- EPSS estimates a 65% probability of exploitation in the next 30 days.
- Fixed versions are available, including Wordpress 3.7.37, Wordpress 4.7.22+dfsg-0+deb9u1, Wordpress 5.0.15+dfsg1-0+deb10u1.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS (30-day exploit likelihood)
65%
Higher than 99.2% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
57/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Aug 19, 2022
225 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
1
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2022-21662
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2022-21662
- advisoryhttps://ubuntu.com/security/CVE-2022-21662
- advisoryhttps://github.com/WordPress/wordpress-develop/security/advisories/GHSA-699q-3hj9-889w
- advisoryhttps://hackerone.com/reports/425342
- advisory[debian-lts-announce] 20220123 [SECURITY] [DLA 2884-1] wordpress security update
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Aug 19, 2022 | n/a | Not reported |
Affected Products
22 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| WordpressWordpress | >= 3.7 | 5.8.3 |
| Debian LinuxDebian | 10.0, 11.0, 9.0 | n/a |
| wordpress-multisitebitnami | See advisory | 5.8.3 |
| wordpress-develop | < 5.8.3 | n/a |
Patched Releases
Wordpress
3.7.37, 4.7.22+dfsg-0+deb9u1, 5.0.15+dfsg1-0+deb10u1, 5.7.5+dfsg1-0+deb11u1, 5.8.3, 5.8.3+dfsg1-1
wordpress-multisite
5.8.3
Timeline
Publicly disclosed
Jan 6, 2022
Added to Industry KEV feed
Aug 19, 2022
Last updated
Nov 3, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- advisorycve.org · CVERecord
- advisorysecurity-tracker.debian.org · CVE-2022-21662
- advisoryubuntu.com · CVE-2022-21662
- advisorygithub.com · GHSA-699q-3hj9-889w
- advisoryhackerone.com · 425342
FAQ
Common Questions.
WordPress is a free and open-source content management system written in PHP and paired with a MariaDB database.
Affected: Wordpress versions >= 3.7; Debian Linux versions 10.0, 11.0, 9.0; wordpress-multisite (bitnami), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Aug 19, 2022.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Wordpress 3.7.37, Wordpress 4.7.22+dfsg-0+deb9u1, Wordpress 5.0.15+dfsg1-0+deb10u1.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2022-21662 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo