WordPress security changelog
HIGH CVE-2021-39202 Modified

PHP and paired with a MySQL or MariaDB database. In affected: Cross-site scripting

PHP and paired with a MySQL or MariaDB database. In affected is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.

CVE / CNA score 7.6 CVSS 3.1 · security-advisories@github.com
NVD score 5.4 CVSS 3.1 · nvd@nist.gov
Component
PHP and paired with a MySQL or MariaDB database. In affected
Plugin slug
Not applicable
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Sep 09, 2021
Weakness
CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Update, patch or deactivate.

Update PHP and paired with a MySQL or MariaDB database. In affected to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N

NVD vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Primary and upstream sources