All vulnerabilities

WordPress core

CVE-2021-39202

WordPress 5.8 beta: Stored Cross-Site Scripting (XSS) vulnerability in widget editor

Severity
Medium 5.4
Published
9 Sept 2021
Last changed
17 Jun 2026
Added to UpHeron
17 Oct 2026
Fixed in
5.8
Also known as
GHSA-fr6h-3855-j297
Sources
NVD, WordPress

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…

Affected software

SoftwareAffected versions
WordPressWordPress core · cpe:a:wordpress:wordpress
  • From 5.8-beta1 before 5.8
  • Version 5.8-beta1
  • Version 5.8-beta2

References