Vulnerability record · CVE-2021-39202 · published 9 September 2021
CVE-2021-39202: Wordpress cross-site scripting vulnerability
Wordpress · Wordpress
WordPress is a free and open-source content management system written in PHP and paired with a MySQL or MariaDB database. In affected versions the widgets editor introduced in WordPress 5.8 beta 1 has improper handling of HTML input in the Custom HTML feature. This leads to stored XSS in the custom HTML widget. This has been patched in WordPress 5.8. It was only present during the testing/beta phase of WordPress 5.8.
Description
WordPress is a free and open-source content management system written in PHP and paired with a MySQL or MariaDB database. In affected versions the widgets editor introduced in WordPress 5.8 beta 1 has improper handling of HTML input in the Custom HTML feature. This leads to stored XSS in the custom HTML widget. This has been patched in WordPress 5.8. It was only present during the testing/beta phase of WordPress 5.8.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-fr6h-3855-j297 | Third Party Advisory |
| https://hackerone.com/reports/1222797 | Permissions Required |
| https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-fr6h-3855-j297 | Third Party Advisory |
| https://hackerone.com/reports/1222797 | Permissions Required |
Track CVE-2021-39202 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-39202), CISA KEV, FIRST EPSS (scores of 2026-11-26). This page is refreshed as NVD updates the record.