CVE-2021-39201

NameCVE-2021-39201
DescriptionWordPress 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)
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-4985-1
Debian Bugs994059

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
wordpress (PTS)bullseye (security), bullseye5.7.11+dfsg1-0+deb11u1fixed
bookworm, bookworm (security)6.1.6+dfsg1-0+deb12u1fixed
sid, trixie6.6.1+dfsg1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
wordpresssourcestretch(not affected)
wordpresssourcebuster5.0.14+dfsg1-0+deb10u1DSA-4985-1
wordpresssourcebullseye5.7.3+dfsg1-0+deb11u1DSA-4985-1
wordpresssource(unstable)5.8.1+dfsg1-1994059

Notes

[stretch] - wordpress <not-affected> (Vulnerable code added later)
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-wh69-25hr-h94v

Search for package or bug name: Reporting problems