Skip to content
OpenAdvisories
High · 8.0 CVE-2022-21662 EUVD-2022-26879

Stored XSS in WordPress

Published Jan 6, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
WordPress wordpress-develop < 5.8.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 wordpress 5.8.3+dfsg1-1 —
Debian 13 wordpress 5.8.3+dfsg1-1 —
Debian 12 wordpress 5.8.3+dfsg1-1 —
Debian 11 wordpress 5.7.5+dfsg1-0+deb11u1 DSA-5039-1
Debian 10 wordpress 5.0.15+dfsg1-0+deb10u1 DSA-5039-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 9 wordpress 4.7.22+dfsg-0+deb9u1 DLA-2884-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS wordpress No fix yet —
Ubuntu 18.04 LTS wordpress No fix yet —
Ubuntu 16.04 LTS wordpress No fix yet —

Advisories 2

References