Skip to content

Users without "publish_posts" rights can mark sticky/unsticky a post via REST API

Low
whyisjake published GHSA-g7rg-hchx-c2gw Jan 8, 2020

Package

No package listed

Affected versions

4.7.15, 4.8.11, 4.9.12, 5.0.7, 5.1.3, 5.2.4, 5.3.0

Patched versions

4.7.16, 4.8.12, 4.9.13, 5.0.8, 5.1.4, 5.2.5, 5.3.1

Description

Impact

Authenticated users who do not have the rights to publish a post are able to mark posts as sticky or unsticky via the REST API. For example, the contributor role does not have such rights, but this allowed them to bypass that.

Patches

This has been patched in WordPress 5.3.1, along with all the previous WordPress versions from 3.7 to 5.3 via a minor release. Automatic updates are enabled by default for minor releases and we strongly recommend that you keep them enabled.

References

For more information

If you have any questions or comments about this advisory:

Severity

Low

CVE ID

CVE-2019-16788

Weaknesses

No CWEs