Skip to content
OpenAdvisories
High · 7.6 CVE-2021-39201 EUVD-2021-25583

Authenticated cross-site scripting (XSS) in WordPress editor

Published Sep 9, 2021 · Updated Aug 4, 2024 · Assigned by GitHub_M

Description

WordPress is a free and open-source content management system written in PHP and paired with a MySQL or MariaDB database. ### Impact The issue allows an authenticated but low-privileged user (like contributor/author) to execute XSS in the editor. This bypasses the restrictions imposed on users who do not have the permission to post `unfiltered_html`. ### Patches This has been patched in WordPress 5.8, and will be pushed to older versions via minor releases (automatic updates). It's strongly recommended that you keep auto-updates enabled to receive the fix. ### References https://wordpress.org/news/category/releases/ https://hackerone.com/reports/1142140 ### For more information If you have any questions or comments about this advisory: * Open an issue in [HackerOne](https://hackerone.com/wordpress)

Affected products

VendorProductAffectedFixed
WordPress wordpress-develop >= 5.0, < 5.8.0 —

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.1+dfsg1-1 —
Debian 13 wordpress 5.8.1+dfsg1-1 —
Debian 12 wordpress 5.8.1+dfsg1-1 —
Debian 11 wordpress 5.7.3+dfsg1-0+deb11u1 DSA-4985-1
Debian 10 wordpress 5.0.14+dfsg1-0+deb10u1 DSA-4985-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 wordpress No fix yet —
Ubuntu 26.04 LTS wordpress No fix yet —
Ubuntu 25.10 wordpress No fix yet —
Ubuntu 24.04 LTS wordpress No fix yet —
Ubuntu 22.04 LTS wordpress No fix yet —
Show 3 more (older releases, extended support, other products)
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 1

References