CVE-2021-39201
published high CVSS 3.1 · 7.6Authenticated cross-site scripting (XSS) in WordPress editor
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| WordPress | — | wordpress-develop>= 5.0, < 5.8.0 | Affected | Not stated | GitHub_M |
| Debian | bullseye | wordpress | Advisory build | 5.7.3+dfsg1-0+deb11u1 | DSA-4985-1 |
| Debian | buster | wordpress | Advisory build | 5.0.14+dfsg1-0+deb10u1 | DSA-4985-1 |
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)
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| WordPress | wordpress-develop | >= 5.0, < 5.8.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-wh69-25hr-h94v
- https://hackerone.com/reports/1142140
- DSA-4985 https://www.debian.org/security/2021/dsa-4985
Provider assertions
2GitHub_M · cna
Authenticated cross-site scripting (XSS) in WordPress editor
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a060273a414088fefe7d4d108945ef91734d0cb540941ad69f3223642fc5ce52
- Ingested
- 23 Sep 2026, 07:55:36 UTC
- Source record
- Official CVE record