CVE-2020-4047: Debian Linux

Medium severity, CVSS 6.8. EPSS: 3.3% chance of exploitation in the next 30 days.

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

Affected products

  • Debian Debian Linux: version 8.0 only; version 9.0 only; version 10.0 only
  • Fedoraproject Fedora: version 32 only; version 33 only
  • WordPress WordPress: from 3.7, before 3.7.34 (fixed in 3.7.34); from 3.8, before 3.8.34 (fixed in 3.8.34); from 3.9, before 3.9.32 (fixed in 3.9.32); from 4.0, before 4.0.31 (fixed in 4.0.31); from 4.1, before 4.1.31 (fixed in 4.1.31); from 4.2, before 4.2.28 (fixed in 4.2.28); …

Published 2020-06-12. Last modified 2026-06-17.