CVE-2021-39201
NixOS vulnerability analysis and mitigation

Overview

A cross-site scripting (XSS) vulnerability was discovered in WordPress versions 5.4 to 5.8, identified as CVE-2021-39201. The vulnerability was discovered by Michał Bentkowski of Securitum and publicly disclosed on September 9, 2021. The issue affects the WordPress block editor and impacts multiple WordPress versions from 5.4 through 5.8 (WordPress Advisory, WPScan).

Technical details

The vulnerability is classified as an authenticated cross-site scripting (XSS) issue in the WordPress block editor. It has been assigned a CVSS score of 5.4 (medium severity) and is categorized under CWE-79. The vulnerability allows authenticated users with low-level privileges (such as contributors or authors) to execute XSS attacks in the editor, effectively bypassing the restrictions normally imposed on users who lack the unfiltered_html permission (WPScan).

Impact

When exploited, this vulnerability enables authenticated users with low-level privileges to execute cross-site scripting attacks through the block editor. The impact is particularly significant as it bypasses WordPress's built-in security restrictions for users without unfiltered_html permissions, potentially allowing malicious users to inject and execute unauthorized HTML and scripts (WordPress Advisory).

Mitigation and workarounds

WordPress addressed this vulnerability by releasing security updates across multiple versions. WordPress 5.8.1 contains the fix for version 5.8, while older versions received corresponding security updates: 5.7.3 for the 5.7.x branch, 5.6.5 for the 5.6.x branch, 5.5.6 for the 5.5.x branch, and 5.4.7 for the 5.4.x branch. Users are strongly recommended to keep auto-updates enabled to receive these security fixes (WordPress Advisory, WPScan).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-esr
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • thunderbird
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management