Skip to content
CVE Ledger
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API docsPage
  • MCP serverPage
  • AboutPage
  • Data sourcesPage
  • Data statusPage
  • ChangelogPage
  • How it's builtPage
  • Support the projectPage

14 results

Back

CVE-2020-4047

Authenticated XSS via media attachment page in WordPress

Description

In affected versions of WordPress, authenticated users with upload permissions (like authors) are able to inject JavaScript into some media file attachment pages in a certain way. This can lead to script execution in the context of a higher privileged user when the file is viewed by them. 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).

Timeline

  1. ID reserved

    By GitHub_M

  2. · 6 months later

    Published

  3. · 4 years later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

Scores

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

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

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

References8

Sources

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

Badge for a README or a ticket

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

Record last updated .