# CVE-2021-39201: Authenticated cross-site scripting (XSS) in WordPress editor

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.49%, higher than 74% of CVEs (2026-12-01)
- Published: 2021-09-09T21:35:08.000Z
- Modified: 2026-09-10T16:01:48.452Z
- Also known as: BIT-WORDPRESS-2021-39201, BIT-WORDPRESS-MULTISITE-2021-39201, GHSA-wh69-25hr-h94v
- Weaknesses: CWE-79
- 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)

(As written by CVE List.)

## Affected

- WordPress wordpress-develop: >= 5.0, < 5.8.0
- wordpress wordpress: from 5.0 before 5.8
- debian debian_linux: 10.0; 11.0
- wordpress (Bitnami): from 5.0.0 before 5.8.0
- wordpress-multisite (Bitnami): from 5.0.0 before 5.8.0

## Every score

- GitHub_M: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://hackerone.com/reports/1142140> (permissions-required, web)
- <https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-wh69-25hr-h94v> (advisory, third-party-advisory)
- <https://www.debian.org/security/2021/dsa-4985> (advisory, third-party-advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39201> (web)

## Sources

- CVE List: [CVE-2021-39201](https://www.cve.org/CVERecord?id=CVE-2021-39201), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-39201](https://nvd.nist.gov/vuln/detail/CVE-2021-39201), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-WORDPRESS-2021-39201](https://osv.dev/vulnerability/BIT-WORDPRESS-2021-39201), Apache-2.0, modified 2026-09-10
- Bitnami Vulnerability Database: [BIT-WORDPRESS-MULTISITE-2021-39201](https://osv.dev/vulnerability/BIT-WORDPRESS-MULTISITE-2021-39201), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2021-39201 · Whole record: https://cve.day/CVE-2021-39201.json · Rebuilt by cve.day 2026-11-25T22:58:03.874Z
