{"schemaVersion":3,"id":"CVE-2022-21662","aliases":["UBUNTU-CVE-2022-21662","DEBIAN-CVE-2022-21662"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-01-06T23:05:10.000Z","modified":"2025-04-23T19:14:24.190Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":5.9,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":5.9,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.5,"severity":"low","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.64529,"percentile":0.99236,"severity":"critical","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.64529},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.64529,"percentile":0.99236}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.64529,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.64529,"percentile":0.99236}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"debian","product":"wordpress","name":"wordpress","label":"wordpress","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/wordpress","purlType":"deb","versions":[{"text":"< 5.8.3+dfsg1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.8.3+dfsg1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"wordpress","name":"wordpress","label":"wordpress","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/wordpress","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null},{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0 | 10.0 | 11.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"wordpress","product":"wordpress","name":"WordPress","label":"wordpress","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.7, < 3.7.37","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 3.8, < 3.8.37 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 3.9, < 3.9.35 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 4.0, < 4.0.34 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 4.1, < 4.1.34 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 4.2, < 4.2.31 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 4.3, < 4.3.27 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 4.4, < 4.4.26 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 4.5, < 4.5.25 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 4.6, < 4.6.22 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 4.7, < 4.7.22 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 4.8, < 4.8.18 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 4.9, < 4.9.19 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 5.0, < 5.0.15 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 5.1, < 5.1.12 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 5.2, < 5.2.14 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 5.3, < 5.3.11 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 5.4, < 5.4.9 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 5.5, < 5.5.8 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 5.6, < 5.6.7 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 5.7, < 5.7.5 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"},{"text":"≥ 5.8, < 5.8.3 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37"}],"versionsText":"≥ 3.7, < 3.7.37 | ≥ 3.8, < 3.8.37 (fixed in 3.7.37) | ≥ 3.9, < 3.9.35 (fixed in 3.7.37) | ≥ 4.0, < 4.0.34 (fixed in 3.7.37) | ≥ 4.1, < 4.1.34 (fixed in 3.7.37) | ≥ 4.2, < 4.2.31 (fixed in 3.7.37) | ≥ 4.3, < 4.3.27 (fixed in 3.7.37) | ≥ 4.4, < 4.4.26 (fixed in 3.7.37) | ≥ 4.5, < 4.5.25 (fixed in 3.7.37) | ≥ 4.6, < 4.6.22 (fixed in 3.7.37) | ≥ 4.7, < 4.7.22 (fixed in 3.7.37) | ≥ 4.8, < 4.8.18 (fixed in 3.7.37) | ≥ 4.9, < 4.9.19 (fixed in 3.7.37) | ≥ 5.0, < 5.0.15 (fixed in 3.7.37) | ≥ 5.1, < 5.1.12 (fixed in 3.7.37) | ≥ 5.2, < 5.2.14 (fixed in 3.7.37) | ≥ 5.3, < 5.3.11 (fixed in 3.7.37) | ≥ 5.4, < 5.4.9 (fixed in 3.7.37) | ≥ 5.5, < 5.5.8 (fixed in 3.7.37) | ≥ 5.6, < 5.6.7 (fixed in 3.7.37) | ≥ 5.7, < 5.7.5 (fixed in 3.7.37) | ≥ 5.8, < 5.8.3 (fixed in 3.7.37)","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"wordpress","label":"WordPress","category":"server-app"}},"hubHref":null},{"vendor":"wordpress","product":"wordpress","name":"wordpress","label":"wordpress","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.8.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.8.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"wordpress","label":"WordPress","category":"server-app"}},"hubHref":"/vendor/wordpress/wordpress"},{"vendor":"wordpress","product":"wordpress-develop","name":"wordpress-develop","label":"wordpress-develop","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.8.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.8.3","eol":null,"hubHref":"/vendor/wordpress/wordpress-develop"}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/","label":"wordpress.org/news/2022/01/wordpress-5-8-3-security-release/","hostname":"wordpress.org","tags":["X Refsource MISC","REPORT","Release Notes","Vendor Advisory"]},{"url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-699q-3hj9-889w","label":"github.com/WordPress/wordpress-develop/security/advisories/GHSA-699q-3hj9-889w","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Third Party Advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5039","label":"www.debian.org/security/2022/dsa-5039","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","REPORT","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00019.html","label":"lists.debian.org/debian-lts-announce/2022/01/msg00019.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-21662","label":"ubuntu.com/security/CVE-2022-21662","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://hackerone.com/reports/425342","label":"hackerone.com/reports/425342","hostname":"hackerone.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-21662","label":"www.cve.org/CVERecord?id=CVE-2022-21662","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-21662","label":"security-tracker.debian.org/tracker/CVE-2022-21662","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/c272f769-65da-4963-aff0-8f68a277ea63","label":"www.wordfence.com/threat-intel/vulnerabilities/id/c272f769-65da-4963-aff0-8f68a277ea63","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2884-1","DSA-5039-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-01-06T23:05:10.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-23T19:14:24.190Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T00:31:05.746Z","stale":false,"partial":false}}