Cyber Resilience

CVE-2022-21662

High

Published: 06 January 2022

Published
06 January 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 8.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
EPSS Score 0.1424 94.6th percentile
Risk Priority 25 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-21662 is a high-severity Cross-site Scripting (CWE-79) vulnerability in Debian Debian Linux. Its CVSS base score is 8.0 (High).

Operationally, ranked in the top 5.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

WordPress core contains a stored cross-site scripting vulnerability tracked as CVE-2022-21662. Low-privileged authenticated users, such as those with the Author role, can inject JavaScript that executes in the context of higher-privileged accounts when the malicious content is later viewed. The flaw affects all WordPress releases prior to 5.8.3 and was also back-ported to older branches as far as 3.7.37; the corresponding CWE is 79 and the CVSS 3.1 base score is 8.0.

An attacker who already possesses a low-privileged account can craft and publish content that stores executable script. When an administrator or editor subsequently views the affected post, page, or dashboard element, the script runs with that user’s elevated rights, enabling actions such as account takeover, plugin installation, or data exfiltration. The attack requires user interaction and a non-trivial level of complexity, reflected in the CVSS vector AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H.

Official advisories from the WordPress project, Debian, and Fedora state that the issue is resolved in version 5.8.3 and the corresponding security releases for older branches. Administrators are strongly encouraged to enable automatic updates; no workarounds are available.

EPSS for the CVE reached a peak of 0.2089 after disclosure before settling at the current value of 0.1424, indicating a measurable increase in observed exploitation interest following public release.

EU & UK References

Vulnerability details

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…

more

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.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

wordpress
wordpress
≤ 5.8.3
debian
debian linux
10.0, 11.0, 9.0

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References