7.6high
WordPress 5.8 beta: Stored Cross-Site Scripting (XSS) vulnerability in widget
- Severity
- 7.6high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.82% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-WORDPRESS-2021-39202BIT-WORDPRESS-MULTISITE-2021-39202GHSA-fr6h-3855-j297
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| WordPress wordpress-develop | 5.8 beta 1, 5.8 beta 2 | CVE List |
| wordpress wordpress | 5.8 | NVD |
| wordpress (Bitnami) | from 5.8-beta1.0 up to 5.8-beta1.0, from 5.8-beta2.0 up to 5.8-beta2.0 | Bitnami Vulnerability Database |
| wordpress-multisite (Bitnami) | from 5.8-beta1.0 up to 5.8-beta1.0, from 5.8-beta2.0 up to 5.8-beta2.0 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 7.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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.
NVD (es)
WordPress es un sistema de administración de contenidos gratuito y de código abierto escrito en PHP y emparejado con una base de datos MySQL o MariaDB. En versiones afectadas, el editor de widgets introducido en la versión 5.8 beta 1 de WordPress, presenta un manejo inapropiado de la entrada HTML en la funcionalidad Custom HTML. Esto conlleva a una vulnerabilidad de tipo XSS almacenado en el widget de HTML personalizado. Esto ha sido parcheado en WordPress versión 5.8. Sólo estuvo presente durante la fase de pruebas/beta de WordPress versión 5.8
References
| https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-fr6h-3855-j297 | third-party-advisory, web | |
| https://hackerone.com/reports/1222797 | permissions-required, web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-39202 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-39202 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-WORDPRESS-2021-39202 changed 2026-03-13 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-WORDPRESS-MULTISITE-2021-39202 changed 2026-03-13 | Apache-2.0 |