Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2020-4046

Authenticated XSS through embed block in WordPress

Medium5.4EPSS 2.1%
Published
Updated
Reserved
Assigned by
GitHub_M

Description

In affected versions of WordPress, users with low privileges (like contributors and authors) can use the embed block in a certain way to inject unfiltered HTML in the block editor. When affected posts are viewed by a higher privileged user, this could lead to script execution in the editor/wp-admin. This has been patched in version 5.4.2, along with all the previously affected versions via a minor release (5.3.4, 5.2.7, 5.1.6, 5.0.10, 4.9.15, 4.8.14, 4.7.18, 4.6.19, 4.5.22, 4.4.23, 4.3.24, 4.2.28, 4.1.31, 4.0.31, 3.9.32, 3.8.34, 3.7.34).

Scores

CVSS scores of CVE-2020-4046, by who scored it
Scored byCVSSScoreVector
GitHub_MCNA (assigner)3.1Medium5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVDNVD · Modified3.1Medium5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS (exploitation in 30 days)
2.1% · top 18% of all CVEs (6 Nov 2026)
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.4.

Weakness

Affected products

  • WordPress · wordpress-develop

    • affected >= 5.4.0, < 5.4.2
    • affected >= 5.3.0, < 5.3.4
    • affected >= 5.2.0, < 5.2.7
    • affected >= 5.1.0, < 5.1.6
    • affected >= 5.0.0, < 5.0.10
    • affected >= 4.9.0, < 4.9.15
    • affected >= 4.8.0, < 4.8.14
    • affected >= 4.7.0, < 4.7.18
    • affected >= 4.6.0, < 4.6.19
    • affected >= 4.5.0, < 4.5.22
    • affected >= 4.4.0, < 4.4.23
    • affected >= 4.3.0, < 4.3.24
    • affected >= 4.2.0, < 4.2.28
    • affected >= 4.1.0, < 4.1.31
    • affected >= 4.0.0, < 4.0.31
    • affected >= 3.9.0, < 3.9.32
    • affected >= 3.8.0, < 3.8.34
    • affected >= 3.7.0, < 3.7.34

References (6)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2020-4046 badge
[![CVE-2020-4046](https://trackcve.app/badge/CVE-2020-4046.svg)](https://trackcve.app/cve/CVE-2020-4046)

Record last updated .