CVE-2021-39202: WordPress 5.8 beta: Stored Cross-Site Scripting (XSS) vulnerability in widget
Vulnerability summary
CVE-2021-39202 is a high (CVSS 7.6) vulnerability in wordpress. EPSS estimates a 0.82% chance of exploitation in the next 30 days, higher than 58.5% of scored vulnerabilities. Fixed in 5.8.
Not severe (CVSS 7.6, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?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
59%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.82% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
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