CVE-2021-39202: wordpress Cross-site Scripting
Vulnerability summary
CVE-2021-39202 is a high (CVSS 7.6) Cross-site Scripting vulnerability in wordpress. EPSS estimates a 0.82% chance of exploitation in the next 30 days, higher than 56.5% of scored vulnerabilities. Fixed in 5.8.
Timeline
- 09-09-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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 metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
- wordfenceSource7.6HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
EPSS trend
Probability
0.82%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
0.00 pp
From 0.82% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Wordpress3 products
- wordpress≥ 5.8 beta 1, ≤ 5.8 beta 2 (fixed in 5.8)
- wordpress5.8:beta1 | 5.8:beta2
- wordpress-develop5.8 beta 1 | 5.8 beta 2
Ubuntu1 product
- wordpressAll versions (No fix recorded)
2 vendors · 4 products
References
5 links- github.com/WordPress/wordpress-develop/security/advisories/GHSA-fr6h-3855-j297X Refsource CONFIRMREPORTThird Party Advisory