Skip to content

WordPress: Authenticated XSS through embed block

Moderate
ehti published GHSA-rpwf-hrh2-39jf Jun 12, 2020

Package

No package listed

Affected versions

5.1 - 5.4.1

Patched versions

5.4.2

Description

Impact

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.

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-4046

Weaknesses

No CWEs