{"id":"BIT-wordpress-2021-39201","summary":"Authenticated cross-site scripting (XSS) in WordPress editor","details":"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)","aliases":["BIT-wordpress-multisite-2021-39201","CVE-2021-39201","GHSA-wh69-25hr-h94v"],"modified":"2026-09-10T16:00:39.907221837Z","published":"2024-03-06T11:10:34.378Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*"]},"references":[{"type":"ADVISORY","url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-wh69-25hr-h94v"},{"type":"WEB","url":"https://hackerone.com/reports/1142140"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4985"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39201"}],"affected":[{"package":{"name":"wordpress","ecosystem":"Bitnami","purl":"pkg:bitnami/wordpress"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.0.0"},{"fixed":"5.8.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/wordpress/BIT-wordpress-2021-39201.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N"}]}],"schema_version":"1.9.0"}