XSS in WordPress
CVE-2021-39202
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N.
EPSS exploit prediction
EPSS 0.008, 57.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- WordPress — versions 5.8
- WordPress Wordpress-Develop — versions 5.8 beta 1, 5.8 beta 2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (20142995/nuclei-templates). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/WordPress/wordpress-develop/security/advisories/GHSA-fr6h-3855-j297 (Third Party Advisory)
- hackerone.com/reports/1222797 (Permissions Required)