WordPress core
CVE-2021-39201
Authenticated cross-site scripting (XSS) in WordPress editor
- Severity
- Medium 5.4
- Published
- 9 Sept 2021
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 17 Oct 2026
- Fixed in
- 5.8
- Also known as
- GHSA-wh69-25hr-h94v
- Sources
- NVD, WordPress
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…
Affected software
| Software | Affected versions |
|---|---|
WordPressWordPress core · cpe:a:wordpress:wordpress |
|
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2021-39201
- CVE.org https://www.cve.org/CVERecord?id=CVE-2021-39201
- GitHub Advisory Database https://github.com/advisories/GHSA-wh69-25hr-h94v
- WordPress security advisory https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-wh69-25hr-h94v