Skip to content

WordPress: Authenticated XSS via media attachment page

Moderate
ehti published GHSA-8q2w-5m27-wm27 Jun 12, 2020

Package

No package listed

Affected versions

3.7 - 5.4.1

Patched versions

5.4.2

Description

Impact

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.

Patches

This has been patched in WordPress 5.4.2, along with all the previously affected versions via a minor release. Automatic updates are enabled by default for minor releases and we strongly recommend that you keep them enabled.

For more information

If you have any questions or comments about this advisory:

Severity

Moderate

CVE ID

CVE-2020-4047

Weaknesses

No CWEs