--- title: "CVE-2022-21662: Stored XSS in WordPress | CubePath" 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…" language: en source: https://cubepath.com/security/cve/CVE-2022-21662 --- # CVE-2022-21662: Stored XSS in WordPress | CubePath ## 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. Official description from the CVE record, published by GitHub\_M. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2022-21662) ## Key data ### CVSS 3.1 High 8.0 Score published by GitHub\_M in the CVE record. CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H | Metric | Value | What it means | | ---------------------- | -------- | ----------------------------------------------------------------------------------------- | | Attack vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. | | Attack complexity | High | The attack depends on conditions outside the attacker's control, so it takes preparation. | | Privileges required | Low | A basic user account is needed. | | User interaction | Required | A user has to do something first, such as opening a file or following a link. | | Scope | Changed | The impact can reach other components beyond the vulnerable one. | | Confidentiality impact | High | Serious or total effect on the secrecy of data. | | Integrity impact | High | Serious or total effect on the trustworthiness of data. | | Availability impact | High | Serious or total effect on availability. | CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at [first.org/cvss](https://www.first.org/cvss/) . ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.64529 (64.5% probability) Percentile 99.2% Scores of Nov 10, 2026 Model v2026.06.15 ### CISA assessment as of Apr 23, 2025 Stakeholder-Specific Vulnerability Categorization (SSVC) decision points added by CISA. Automatable no Technical impact total ### Weakness (CWE) CWE catalog version 5.0. CWE names: Copyright © 2006-2026, The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CWE license. - [CWE-79](https://cwe.mitre.org/data/definitions/79.html) Improper Neutralization of Input During Web Page Generation ## Affected products Products listed in the CVE record, as the CNA published them. - wordpress-develop - affected: < 5.8.3 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [wordpress.org/news/2022/01/wordpress-5-8-3-security-release](https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/) - [github.com/WordPress/wordpress-develop/security/advisories/…](https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-699q-3hj9-889w) - [DSA-5039](https://www.debian.org/security/2022/dsa-5039) (debian.org) vendor-advisory - [FEDORA-2022-8472dd59ff](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/) (lists.fedoraproject.org) vendor-advisory - [FEDORA-2022-e37e1e6c7a](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/) (lists.fedoraproject.org) vendor-advisory - [\[debian-lts-announce\] 20220123 \[SECURITY\] \[DLA 2884-1\] wordpress security update](https://lists.debian.org/debian-lts-announce/2022/01/msg00019.html) (lists.debian.org) mailing-list ## Timeline 1. ID reserved Nov 16, 2021 2. Record published Jan 6, 2022 3. Record last updated Apr 23, 2025 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 20:03 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)