SecurityContext

CVE-2022-21662: WordPress - Stored XSS

  • Cve: CVE-2022-21662
  • Name: WordPress - Stored XSS
  • 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.
  • Impact: Attackers can execute malicious scripts affecting high-privileged users, potentially leading to session hijacking or account compromise.
  • Remediation: Update to WordPress version 5.8.3 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: logged_in
  • Requirements: Attacker needs to be an authenticated user
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.64529
  • Epss percentile: 0.99257
  • Assignee: [email protected]
  • Published at: 2022-01-06T23:15:08Z
  • Age in days: 1783
  • Modified at: 2026-06-17T04:26:42Z
  • Patch available: yes
  • References total: 7
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-21662
  • Nvd status: modified
  • Checked, none or zero: nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2022-08-19—no

Hackerone

  • Reports: 19
  • Rank: 1851

References

UrlSourceTags
https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/nvdRelease Notes, Vendor Advisory
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-699q-3hj9-889wnvdThird Party Advisory
https://lists.debian.org/debian-lts-announce/2022/01/msg00019.htmlnvdMailing List, Third Party Advisory
https://www.debian.org/security/2022/dsa-5039nvdThird Party Advisory
https://unit42.paloaltonetworks.com/recent-exploits-network-security-trends/vulncheckVulncheck Reported Exploitation
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/nvd
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/nvd

Products

ProductAffectedPlatform boundSourcesUrl
wordpress:wordpress< 5.8.3nonvd/v1/products/wordpress/wordpress
debian:debian_linux= 11.0, = 10.0, = 9.0nonvd/v1/products/debian/debian_linux

Projects

RepositoryLink kindsIndexedUrl
wordpress/wordpress-developsecurity_advisoryyes/v1/repositories/wordpress/wordpress-develop

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Known exploited by: vulncheck
  • Vulncheck known exploited since: 2022-08-19
  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 19
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, public exploit first date, nuclei template, initial access since