Skip to content

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

whyisjake published GHSA-g7rg-hchx-c2gw Jan 8, 2020
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
CVE identifier


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.


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.


For more information

If you have any questions or comments about this advisory:

You can’t perform that action at this time.