Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-20043

In in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php in WordPress 3.7 to 5.3.0, 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-20043
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:44 UTC · Revision 1

Source evidence

CVE-2019-20043

core-osv · Original source

Published 27 Dec 2019, 08:15 UTC

In in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php in WordPress 3.7 to 5.3.0, 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.

osv:CVE-2019-20043
Complete source record
{
  "id": "e84d920500fc47eb121a96f357dca921d629c6ab4873093284a42bacb29f22eb",
  "url": "https://osv.dev/vulnerability/CVE-2019-20043",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-20043",
    "summary": "In in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php in WordPress 3.7 to 5.3.0, 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.",
    "evidence": "osv:CVE-2019-20043",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2019-20043",
      "aliases": [
        "CVE-2019-20043",
        "GHSA-g7rg-hchx-c2gw"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wordpress/wordpress",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3921fd373acaeeeee2029f762b676075cf375b33"
                },
                {
                  "fixed": "378daf04727d8124c3a98e2f801632e068c04964"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.7"
                      },
                      {
                        "fixed": "5.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20043.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/wordpress/wordpress-develop",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f1d358137f7ed657db6afec1b1eca0b9f7814e25"
                },
                {
                  "fixed": "61b04c907bdbd9e94c3c2b50d0f0be161d7900ce"
                },
                {
                  "fixed": "1d1d5be7aa94608c04516cac4238e8c22b93c1d9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.7"
                      },
                      {
                        "fixed": "5.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1d1d5be7aa94608c04516cac4238e8c22b93c1d9"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20043.json"
          }
        }
      ],
      "modified": "2026-10-24T10:49:51.530266018Z",
      "provider": "osv",
      "references": [
        "https://github.com/WordPress/wordpress-develop/commit/1d1d5be7aa94608c04516cac4238e8c22b93c1d9",
        "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-g7rg-hchx-c2gw",
        "https://seclists.org/bugtraq/2020/Jan/8",
        "https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/",
        "https://wpvulndb.com/vulnerabilities/9973",
        "https://www.debian.org/security/2020/dsa-4599",
        "https://www.debian.org/security/2020/dsa-4677",
        "https://core.trac.wordpress.org/changeset/46893/trunk"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  },
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-20043",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 441864,
  "published_at": "2019-12-27T08:15:09.807+00:00"
}