CVE-2021-39202
published high CVSS 3.1 · 7.6WordPress 5.8 beta: Stored Cross-Site Scripting (XSS) vulnerability in widget
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| WordPress | — | wordpress-develop5.8 beta 1 · 5.8 beta 2 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| WordPress | wordpress-develop | 5.8 beta 1 (affected)5.8 beta 2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
2GitHub_M · cna
WordPress 5.8 beta: Stored Cross-Site Scripting (XSS) vulnerability in widget
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6bce4d9beef3234b3b98c41896881238b4105b5e484c99824284a24cdcd22be6
- Ingested
- 23 Sep 2026, 07:55:36 UTC
- Source record
- Official CVE record