XSS in WordPress

CVE-2022-21662

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.645 (99.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-21662?
CVE-2022-21662 is a high-severity vulnerability in WordPress, classified under Cross-site Scripting. CVSS score: 8.0/10. Published 2022-01-06.
How severe is CVE-2022-21662?
High severity. CVSS v3 base score is 8.0 out of 10.
Is CVE-2022-21662 known to be exploited?
6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.